Java & Hardware

Du har sikkert allerede en liggende i skuffen, fordi sådan én måtte man jo bare eje. Jeg skriver her om en af de nye små computere som kan erhverves for meget få penge - Raspberry Pi / Aurdino. Desværre sker der jo ofte det, at man får computeren hjem og så ryger den i skuffen efter at man har fået den til fungere, hvilke jo er rigtig ærgeligt.

Men ville det ikke være sjovt hvis du kunne køre Java på din lille Raspberry Pi? - eller hvad med hvis du kunne bruge Java til at styre elektronik som f.eks. lysdioder, motorer, sensorer, etc?

Raspberry Pi er designet til at være en billig men komplet platform man kan bruge til elektronik-eksperimenter. Den var egentlig beregnet til skoler i England, og opfinderne mente man kunne sælge 5-10.000 eksempler. Idag er der solgt over 3 millioner eksemplarer.

Fordelen med at bruge Raspberry Pi til at styre elektronik er at den har direkte digitalt interface - og skulle man være uheldig og kortslutte noget - så er skaden til at overse :-)

Javagruppen har i samarbejde med Lund & Bendsen konstrueret et sæt med komponenter og tilhørende kursusmateriale. Materialet kan bruges til at give en lav-praktisk introduktion til digital elektronik, samt til at lave nogle øvelser med de komponenter der er med. Sættet er baseret på Java, Eclipse og PI4J (hardware interface library).

Ideen er at vi - dig og dine teenagebørn - mødes nogle aftener i løbet af efteråret / vinteren. Aftnerne vil typisk bestå af lidt teori, fulgt at øvelser - både ud fra oplæg og ud fra hvad I selv finder på. Når vi kommer lidt længere hen i forløbet kan I også tage komponenter med selv, og lave eksperimenter med dem.

Du kan selv medbringe en PC men da vi anvender Lund & Bendsens kursuslokaler er det ikke strengt nødvendigt.

For at deltage kræver at du eller din virksomhed er medlem af Javagruppen.

Første gang er den 23. oktober 2014 kl. 18.00 til 22.00.

Adressen er:

Javagruppen
Naverland 2, 15. sal.
2600 Glostrup

Javagruppen vil byde på et let aftensmåltid.

Tilmelding sker her: http://www.javagruppen.dk/index.php?option=com_rsform&formId=77

Mødet er sponsoreret af Lund&Bendsen A/S

lundogbendsen logo

Java & Hardware #2

Så er vi klar med anden runde af Java & Hardware.

Vi mødes kl. 18.00 til kl. 22.00 hos

Javagruppen
Naverland 2, 15. sal.
2600 Glostrup

hvor Javagruppen vil byde på et let aftensmåltid.

Vigigt: Selvom du ikke var med første gang, kan du sagtens stadig nå at være med. Jan vil være på adressen fra kl. 17.00 og gennemgå nogle af de basale ting vi arbejde med sidste gang så vi kan fortsætte i fællesskab kl. 18.00. Angiv i tilmeldingen hvorvidt du kommer kl. 17.00 eller kl. 18.00.

Tilmelding sker her: http://www.javagruppen.dk/index.php?option=com_rsform&formId=78

Læs mere om aftenens indhold her: Java & Hardware

På vegne af Javagruppen
Jan Schoubo & Christian Damsgaard

Javagruppemøde 119: Intercepting JAXWS webservices

Javagruppen afholder møde den 28. november kl. 15:00 på kontoret hos Openminds, Fredens Torv 1B, Aarhus. Tilmelding nødvendig (klik her).

Emne:  Intercepting JAXWS webservices

Taler: Morten Hauch (Openminds)

Læs mere: Javagruppemøde 119: Intercepting JAXWS webservices

Javagruppemøde 120: Xtend and Xtext

We are lucky to be able to hold introductions to two new, closely related languages that have grown out of the Eclipse environment recently - Xtend and Xtext.

Both extend Java in the direction of Domain Specific Languages, and the introductions will be presented by Sven Efftinge, project lead on Xtend and Xtext and Sebastian Zarnekow, co-architect on Xtend and Xtext - both working for Itemis in Kiel.

Læs mere: Javagruppemøde 120: Xtend and Xtext

Javagruppemøde 121 : Automatically translating a huge code base into Scala using Scala

…the story about architecting, maintaining, developing and renewing the Maconomy ERP platform

The brief history of the Maconomy architecture

Speaker: Martin Gamwell Dawids

By the end of 1988 the Danish software vendor PPU Software A/S[1] started developing what would become the ERP system Maconomy. The system was originally running only on single-user Macintosh machines. However, the architecture of the software was designed elegantly with the business logic written in a DSL that supported embedded and statically typed SQL. The business logic was compiled to byte code and executed on a custom-made virtual machine. It is worth noticing that this was almost a decade before Java and the JVM appeared on the scene and also many years before LINQ came into existence. This novel approach made it possible to port the Maconomy ERP to a long number of hardware platforms and operating systems over the following years without touching the application business logic. 

Contents of the talk

Martin will to tell the brief history of Maconomy and the both wise and fortunate design choices that has made it possible to develop and maintain Maconomy as a leading ERP system for 25 years.

Scala primer

Speaker: Martin Gamwell Dawids

Martin will give a brief introduction to Scala outlining its basic functional concepts. If you don't know Scala and its syntax, this talk will make it easier to understand the code examples presented in the following talk.

Building a source-to-source translator using Scala and Kiama

Speaker: Piotr Borowian

In the 25 years since the inception of Maconomy, a lot has happened in the field of both programming languages and runtime platforms. The then novel approach of having embedded and statically typed SQL, compiling to byte code and running on a virtual machine is something you get for free today, along with better tools, IDEs, etc. For these and other reasons, Piotr (in his master's thesis[2]) has investigated the possibility of automatically migrating the existing application business logic code base into Scala.

Contents of the talk

Piotr is going to talk about how we are planning to go about migrating our huge application code base into an internal Scala DSL, as well as what challenges and tradeoffs one can expect to encounter when undertaking such a project.

More specifically, Piotr will show you how you can use the very powerful tools from the Scala toolbox like parser combinators, pattern matching as well as a really cool language processing library called Kiama to build a source-to-source translator. During the talk we will develop a small programming language, a parser and compiler for this language as well as an interpreter – all in 10 minutes. The language is simple yet it exhibits a lot of problems commonly encountered when building a real-life source-to-source translator.

[1] PPU Software A/S later became Maconomy A/S which was recently acquired by the US-based software vendor Deltek Inc.

[2] Piotr Borowian wrote his Master's Thesis in collaboration with Deltek. Piotr won the award “Computer Science Thesis of 2012” (in Danish “Årets Datalogispeciale 2012”) for the work in his Master's Thesis. The prize is awarded by Dansk Selskab for Datalogi (Danish Society for Computer Science) and Dansk IT (Danish IT) in cooperation.

Praktiske oplysninger

Tid: 28.11.2013 kl. 16.00-19.00
Sted: Deltek, Vordingborggade 18-22, 2100 København Ø
Tilmelding sker her.

 
javagruppen RT @reza_rahman: Please don't neglect to put in your vote for Java EE in the RebelLabs Java 2017 survey. Speaking up matters. https://t.co/
9hreplyretweetfavorite
javagruppen RT @elderjava: Top 20 Java EE Experts to Follow on Twitter https://t.co/M0tfA51yGc @java_ee @java @javaee_guardian
9hreplyretweetfavorite
javagruppen DEVOXX update... 800 solgte / 3500 billetter, vi har også stadig plads på fællesturen. Vi er pt. 20 deltagere :)… https://t.co/xhJzi5evKx
javagruppen We want to thank all attending jdk.io for making it a great conference! Have a safe trip home and we hope to see yo… https://t.co/Z12pv5oTCb