Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blog Posts by Community

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  

Java Enterprise

The @PostConstruct annotation makes it possible to run initialization code just before something (EJB, JSF managed bean, CDI bean) is put into service. In code   @PostConstruct  public void init() {    // put your initialization code here.  } Note the the method annotated with @PostConstruct runs only once! So if you are exposing a session bean that gets...
on Dec 12, 2014
By Joshua Suereth and Matthew Farwell, SBT in Action Save 39% on SBT in Action with discount code sbtjn14 at If you've spent any time working in a team of software developers, you'll have noticed one thing. People make mistakes. Have you ever heard of the old joke about asking 10 economists a question and getting 11 different answers? It's like that when you've got a list of...
on Dec 6, 2014
By Rick Umali, Learn Git in a Month of Lunches Save 40% on Learn Git in a Month of Lunches with discount code lgitjn14 at Git, the open-source version control system built for speed and efficiency, implements a distributed repository system. Being distributed means that there is no one central repository for your source code. Instead, any repository can be the “official copy” of...
on Dec 4, 2014
By Roland Kuhn and Jamie Allen, Reactive Design Patterns Save 40% on Reactive Design Patterns with discount code rdpjn14 at Computers are meant to perform repetitive tasks for us, quickly and without human errors. But sometimes programs are written without regard to scalability and when they get popular, they’re not able to keep up with the usage. Twitter, for example, was simply...
on Dec 3, 2014
By Elijah Meeks for D3 in Action One of the most popular information visualization charts in D3 is also one of the most maligned: the word cloud. Also known as a tag cloud, the word cloud uses text and text size to represent the importance or frequency of words. Figure 1 shows a thumbnail gallery of 15 word clouds derived from text in a species biodiversity database. Oftentimes, word clouds...
on Nov 10, 2014
By Avi Pfeffer for Practical Probablistic Programming Save 40% on Practical Probabilistic Programming with code pppjn at Probabilistic programming is a way to create systems that help us make decisions in the face of uncertainty. Probabilistic reasoning combines our knowledge of a situation with the laws of probability to determine those unobserved factors that are critical to...
on Nov 10, 2014
And it is tutorial time! Where are the JavaEE tutorials for each of the JavaEE versions? JavaEE 5 tutorial JavaEE 6 tutorial JavaEE 7 tutorial Enjoy!
on Nov 6, 2014
If you want to find a specific version of the JavaEE API documentation the following links connect you to them: JavaEE 5 API documentation JavaEE 6 API documentation JavaEE 7 API documentation Enjoy!
on Nov 5, 2014
Another CDI alignment issue done In code @ViewMap@InjectMap viewMap; In words you can now inject the view map for use in your CDI managed bean. Enjoy!
on Oct 31, 2014
The following spec issues were addressed #1333 - Support @Inject for UIViewRoot #1332 - Let CDI handle #{view} #1331 - Let CDI handle #{application} And the following other issues that have a 2.3 impact were addressed #3425 - Apply Java SE 7 Strings in switch #3427 - Apply Java SE 7 multi-catch #3444 - Apply Java SE 7 multi-catch: part 3 of 3 #3443 - Apply Java SE 7 multi-catch: part 2 of 3 #3427...
on Oct 30, 2014
And now you can inject the UIViewRoot In code @InjectUIViewRoot viewRoot; Enjoy!
on Oct 29, 2014
With all of my formal JavaOne conference obligations satisfied, day four was dedicated to listening. Another day, another hotel. The community keynote had a little bit of everything and was in the San Francisco Marriott, bringing to four the total number of separate buildings I had to visit for JavaOne. The complete keynote is available at Oracle. The room was full, and Intel VP Michael...
on Oct 28, 2014
Nothing really fancy, but #{application} EL resolving is now done using a 2.3 CDI producer. Note there won't be @Inject support for this as it is not referring to a specific typed artifact. Enjoy!
on Oct 27, 2014
While it looks like not a whole lot has been going on issue wise some additional work not covered by specification issues has be done a) Javadoc cleanup for JavaSE 8 b) Apply diamond operator to sources And the following specification issues were handled: #1254 - contracts attribute too restrictive. #1328 - Let CDI handle #{session} EL resolving #1327 - Verify @Inject HttpSession support Enjoy!
on Oct 23, 2014
And the MVC specification project is now public at so we are on the way! Enjoy!
on Oct 21, 2014
Day three was definitely the high point of the conference for me. As anyone who has spoken at tech conferences knows, the point in time when all of one's sessions have been given is the turning point between tempered enjoyment and pure enjoyment of the conference. I was blessed with the scheduling this year; I was all done after Wednesday. This put me in a great frame of mind to enjoy the...
on Oct 17, 2014

Java Tools

By Raymond K. Camden, Apache Cordova in Action Save 40% on Apache Cordova in Action with discount code camdenjn14 at The Cordova project consists of three main things - a command line tool, access to hardware features, and the ability to support unknown future features. The Command Line The command line is the tool that is used to create projects and compile code to mobile...
on Nov 30, 2014
Oracle Developer Cloud Service is included as a free entitlement with Oracle Java Cloud Service and Oracle Messaging Cloud Service. The Developer Cloud Service includes all the tools you need to support the team development lifecycle. There are popular open source tools such as Git, Maven and Hudson. There's also task management, code reviews and a wiki. The easiest way to experience the Oracle...
on Oct 22, 2014

Identity Management

Indonesia has released the domain .id to public with Indonesia ID, and more more website using this domain, the domain is costly around $50/year. in Another world, with this domain, we can make the domain become an identity portal. And yes we are the one that using it (, and we also release the OAuth Server, take a look, a 2-in-1 project that...
on Nov 23, 2014

Java Desktop

Save 42% on Soft Skills: The software developer's life manual with discount code ssjnet14 at [This article excerpted from Soft Skills: The software developer's life manual.] In one of my favorite books of all time, The War of Art, Steven Pressfield expounds upon the difference between being a professional and being an amateur: Turning pro is a mindset. If we are struggling with...
on Oct 22, 2014