Tuesday Feb 17, 2015

Free Open Source Tools for Maven, HTML5, IoT, and Java EE

Are you struggling with being productive in Maven, HTML5 frameworks such as AngularJS, IoT hardware such as the Raspberry Pi, or Java EE? Do you want free, easy to use, out-of-the-box tools for quickly and efficiently developing all kinds of applications? You really need to give the NetBeans IDE a whirl! At the next Virtual Technology Summit,  OTN will show you the latest enhancements and cool features of the free, open-source NetBeans IDE, which are used around the world, from engineers at Boeing and NASA to Java architects such as James Gosling and Stuart Marks! This is one of four Java sessions of the OTN Virtual Technology Day. Other topics include JavaScript on the JVM, Java Application Monitoring and Java Wearables.

If you haven't looked at the NetBeans IDE lately, you'll be blown away by the fast speed and performance enhancements. If you are completely new to the NetBeans IDE, see how easy it is to get started and be productive. For example, did you know NetBeans can refactor all your code from Java SE 7 to Java SE 8? See how in this session, lead by NetBeans expert Geertjan Wielenga.

Virtual Technology Summits (VTS) are interactive, online events, sponsored by the Oracle Technology Network (OTN). VTSs are free, but you must register:

 • EMEA – 25 February  - 9:00 to 13:00 BST  REGISTER

APAC – 4 March  –  9:30 to 13:30 IST  REGISTER

Each OTN VTS features four technical tracks, each with a unique focus on specific tools, technologies, and tips: Java, Database, Middleware and Systems. Registration allows you to attend any session on any track. We'll kick off the VTS with Java Community Update by Tori Wieldt. There will be places to hang out and meet other attendees between sessions. Please join us!

Monday Nov 03, 2014

Building a 3-tiered Application with Java EE

Do you want an expert to walk you through the key features of Java EE 7? At the next OTN Virtual Technology Summit (VTS), Java expert and author Josh Juneau will walk you through building a 3-tiered application with Java EE. He will take you step-by-step through the development of an application using Maven. You will learn how to add project dependencies via Maven, and perform various development tasks leveraging some new features of Java EE 7.  

During the development of this application, Juneau will touch upon a handful of the Java EE technologies:

  • creation of views using JSF and PrimeFaces
  • binding to managed bean controllers via CDI
  • utilization of the Batch Processing API
  • JMS
  • WebSockets

At the end of this VTS session, you will have a better understanding of how a typical Java EE application is developed. You will also know how to implement solutions using some of the latest features of Java EE.

Note: This a hands-on lab that requires you to have the following downloaded and installed *before* the session:

  1. Java EE 7 SDK Update 1 with GlassFish 4.1: Oracle Technology Network  
  2. NetBeans IDE 8.0.1:  https://netbeans.org/
  3. GlassFish Hand-on-Lab:  https://glassfish.java.net/hol/
  4. MoviePlex Starting Sources:
    https://glassfish.java.net/hol/movieplex7-starting-template.zip 

The Virtual Technology Summit (VTS) are interactive, online events, sponsored by the Oracle Technology Network (OTN). VTSs are free, but you must register:

Each VTS features four technical tracks, each with a unique focus on specific tools, technologies, and tips: Java, Database, Middleware and Systems. Registration allows you to attend any session on any track. We'll kick off the VTS with Java Community Update by Tori Wieldt. There will be places to hang out and meet other attendees between sessions. View the full agenda, abstracts, and participation instructions on the VTS Event Resources Community Space.

Thursday Jul 31, 2014

User Groups at JavaOne

User group leaders from around the world meet once a year at JavaOne. Each year, they organize the Forum meeting the Sunday before JavaOne. Speakers and topics are vetted by community. Anyone attending JavaOne whether they belong to a user group or not are invited to those sessions. Make sure you arrive on time for the Forum on Sunday. It starts at 8:00am at Moscone West. Among the topics this year are NetBeans community and tools, Java EE and Glassfish update, lightning talks about productivity, Java tools for Maven and Java EE, free Java tools and how to teach Java. And you don't want to miss James Gosling. He will present his latest work on the Raspberry Pi, Robots and Small Devices. If you have not registered already.

Register by tomorrow Friday August 1, 2014 and take advantage of the Early Bird rate. It is a US $400 saving on registration!  

Tuesday Aug 14, 2012

Enterprise JavaFX Deployment with LightView: Part 3 now on otn/java

A new article by Java Champion Adam Bien, now up on otn/java, titled “Enterprise JavaFX Deployment with LightView: Part 3,” explores ways to use Maven 3 to build and deploy the LightView application in all available deployment modes. In addition, Bien shows how to sign and deploy LightView with a Java EE 6 application.

Bien explains the basics:

“LightView uses the HTTP (REST) protocol to communicate with the back-end server. For the realization of back-end communication, an external library—the Jersey client—is used. LightView connects with the back end (LightFish) at startup time, so it is not suitable to lazy-load the Jersey dependencies for optimization purposes. Furthermore, multiple JAR files are hard to handle for standalone applications; you have to set up the class path correctly and keep all the moving parts consistent. The most convenient way to deploy Java (and JavaFX) applications is simply by starting them with java -jar my-killer-app.jar and deploying a single file that contains all the dependencies.”

He shows how the class files are packaged with the javafxpackager, which is shipped with the JavaFX 2 SDK, using the exec-maven-plugin and explains the core tasks achieved by Maven and describes the what javafxpackager does behind the scenes. He then shows how the LightView application operates and interacts with LightFish.

Bien concludes by emphasizing that the richness of JavaFX lies in the fact that it is another Java library. “Because JavaFX is ‘just’ an additional Java library, all of the established build, test, and deployment infrastructure can be reused. You can develop JavaFX applications using any integrated development environment (IDE) you like. And best of all, you can use a single language in a project, from the Java EE back end to the JavaFX front end.”

Check out the article here.

Wednesday Sep 07, 2011

Unit Testing for Java EE tech article on OTN

A new article, titled “Unit Testing for Java EE,” by Java Champion Adam Bien, is up on otn/java’s front page. Bien points out that too many developers believe that testing Java EE applications is too hard, inconvenient, or complex, something that has not been true since the advent of Java EE 5 more than five years ago.

Bien explains: “There is nothing special about unit testing Java EE 6 applications. You only have to add the JUnit library into your pom.xml file (see Listing 5) and put your classes into the src/test/java directory. All JUnit tests will be executed automatically during the standard Maven lifecycle: mvn clean install.”

He goes on to make use of “Mockito” an easy-to-use, open source mocking library. Bien writes:

“Mockito is able to create ‘smart proxies’ (a.k.a. mocks) from classes or interfaces. These proxies do not come with any behavior, but they are still perfectly usable. You can invoke methods, but will get the default values, or null, back. The behavior of the mocks can be recorded after their creation with when(mock.getAnswer()).then(42) syntax.

Mockito is perfectly suitable for ‘simulating’ any inconvenient classes, resources, or services. You can start with Mockito just by knowing a single class org.mockito.Mockito. The when-then ‘domain specific language’ is composed of static methods from the Mockito class. The org.mockito.Mockito class is well documented. In fact, the whole documentation set was generated from the JavaDoc markup in the org.mockito.Mockito class.”

Read the complete article here.

About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today