- Tips and Tricks for Better Applications
- Java SE Webinar Replay
- 2016 JavaOne Registration Now Open
- New Java Champion Pratik Patel
- JavaFX Applications Across Devises
- New Release JDK 8u91 and JDK 8u92
- New Java Champion Axel Fontaine
- 2016 JavaOne Call for Papers Open
- Humanoid Robot Programming with Java
- New Java Champion Gunnar Hillert
Thursday Mar 17, 2016
Wednesday Mar 16, 2016
Tuesday Feb 17, 2015
By Tori Wieldt-Oracle on Feb 17, 2015
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
By Tori Wieldt-Oracle on Nov 03, 2014
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
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:
- Java EE 7 SDK Update 1 with GlassFish 4.1: Oracle Technology Network
- NetBeans IDE 8.0.1: https://netbeans.org/
- GlassFish Hand-on-Lab: https://glassfish.java.net/hol/
- MoviePlex Starting Sources:
The Virtual Technology Summit (VTS) are interactive, online events, sponsored by the Oracle Technology Network (OTN). VTSs are free, but you must register:
- Americas - Tuesday November 18th - 9am to 12:30pm PT / 12pm to 3:30pm ET / 1 to 4:30 pm BRT
- APAC – Wednesday November 19th / IST – 10:00am / SG – 12:30pm / AEST – 2:30pm
- EMEA – Wednesday, November 26th / 9am to 1pm BST / 10am – 2pm CET / 12pm to 4pm MSK / GST
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
By Yolande Poirier-Oracle on Jul 31, 2014
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.
Tuesday Aug 14, 2012
By Janice J. Heiss on Aug 14, 2012
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
By Janice J. Heiss on Sep 07, 2011
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.
Insider News from the Java Team at Oracle!