[hemmerling] Java & Java Platform Languages 3/4 - The Java Language, Java Frameworks & Java APIs

The Java Language and the JDK

MAP, Hash Map, Dictionary





  • Selection of the active Java runtime / JDK for Windows, by the registry entry: key = “HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Development Kit/Current Version”, value=“1.3”.

Communications with Java

Contexts and Dependency Injection ( CDI )


Execution of "System.console()" in IDEs


Java EE Platform Specification - The Framework

GitHub "Java EE"


Application Servers

Apache Tomcat - A Web Container only

Glassfish - The Java EE 7 Sample Implementation


  • jWebSocket - “The Open Source Java WebSocket Server”.


JSP / JSF with Tomcat

Java Data Persistence


Java Data Objects ( JDO )


The Oracle Application Development Framework ( ADF )


Graphical User Interface Frameworks

Abstract Window Toolkit ( AWT )

Java Swing

Standard Widget Toolkit


The Framework

  • Oracle "Java SE 8 Archive Downloads" - “Java SE Development Kit 8”, “Linux ARM v6/v7 Hard Float ABI”, “jdk-8-linux-arm-vfp-hflt.tar.gz” is the latest edition shipped with JavaFX.
  • JavaFX offers “Data Binding” ( EN.Wikipedia "Data binding" as .NET with Windows Presentation Foundation ( WPM ). In opposite, “Java Swing” and “Java AWT” don´t offer such.
    • Application of “Data Binding”: The GUI element offers properties, which can be linked by “Data Binding” with other properties of other GUI elements. You even may do mathematical or logical calculations to define the status of a GUI property, based on other GUI properties of other GUI elements.
    • Example for “Data Binding”: A GUI button is active just if some text is entered in a textfield.


Model View ViewModel ( MVVM ) for JavaFX

ControlsFx for JavaFX

Java IDEs, with support to develop JavaFX applications ( as of 2015-10 )

jpro - JavaFX in the browser

  • jpro - JavaFX in the browser - without plugins - “JPROjpro is a new technology which brings Java back into the browser - without Java Plugin. To achieve that, jpro runs JavaFX on the server and maps its scenegraph directly into the browser. The client side rendering is highly optimized with browser side approximations to get a smooth user experience free of lags”.



GUIs according to the Naked Objects Pattern

Naked Objects



Some other Frameworks


Serial Communications ( RS-232, COM1: )

JavaComm 2.0 for Windows

JavaComm 3.0 for Linux, but not for Windows

  • Oracle "Java CommunicationsAPI" - “Java Communications 3.0 API... available for Solaris SPARC, Solaris x86, and Linux x86”. I.e. the API is not available for Windows.


jperipheral for Windows

v5t11 - Java EE Application using RXTX

  • Speech “Java on Tracks – die Kind-im-Manne-Session” ( “Java on Tracks – the child-in-man session” ).
  • With v5t11, the java communication library RXTX is directly included in the core Java application, i.e. a DLL is loaded by the Java application.
    • A crash or failure in serial communication library, in the native driver for the operating system or in the DLL respectively, might cause immediate freezing or crash of the whole single-task application or even the whole operating system.
    • By the special design ( JBOSS; JBOSS adapter for a JBOSS module which inherits RXTX ), RXTX's DLL is not loaded each time the communications API is call. With standard design, RXTX's DLL would be loaded each time the communications API is called.
  • In another project, a commercial project, the serial communication was therefore outsourced to another component, so that there was just loose coupling between the serial communciations and the application.


Regular Expressions


Appropriate OpenDirectory Directory Pages

en/java03.html.txt · Last modified: 2017/06/29 05:31 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki