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

Although a converter is considered an attached object (part of the view state) commonly people ask support for CDI injection into a converter. Since we did not want to upset the original contract of what a converter is we had to look at how we can best support the requested use case. We already had an annotation (@FacesConverter) that was being used to define a converter programmatically. To...
on Jan 15, 2015
Validating Oracle Java Cloud Service HA One of my favorite applications from my Sun Java System Application Server days was the Cluster JSP Sample Application. In a cluster configuration fronted by a load balancer, this simple JSP provides a nice summary of which cluster node handled the request as well as the ability to test session failover. Therefore, why not try it on the Oracle Java Cloud...
on Jan 7, 2015
Happy New Year to all! Enjoy!
on Jan 1, 2015
JavaLand Training Day Teaser With only 61 days to go until JavaLand 2015, it's high time for a preview of the Training Day session I am pleased to offer with my friend Oliver Szymanksi. Briefly, this session is a full day treatment of the parts of Java EE 7 that intersect with the world of HTML5 web development. While the session is an update of the successful class we offered at JavaOne San...
on Dec 26, 2014
As we are working towards our first JSF 2.3 milestone release I want to tell everyone once it is out please start testing. With your help we are able to catch so much more before we ship. This is why we are going to be doing milestone releases. So once the first one is out try it out! I hope you all will make testing your JSF application with JSF 2.3 a New Years resolution! Enjoy!
on Dec 24, 2014
Today I participated in a phone call on Adopt-a-JSR for the MVC 1.0 specification. While we do not have a whole lot of things that can be worked upon by a JUG at the moment I do want to point out that once we start publishing SNAPSHOT releases and milestones we will be looking forward to your contributions! I will tweet and blog about that day and hopefully it will be soon, but as I also...
on Dec 19, 2014
The @Resources annotation makes it possible to define resources that you are going to lookup at runtime. The example describes a way to lookup a datasource that is mentioned in the @Resources annotation on the class.   @Resources(value={    @Resource(name="ShoppingCartDB", type=javax.sql.DataSource),    @Resource(name="ShoppingCartMail", type...
on Dec 18, 2014
By Kyle Banker, Peter Bakkum, Shaun Verch, Douglas Garrett, and Tim Hawkins MongoDB in Action, Second Edition Save 39% on MongoDB in Action, Second Edition discount code jnmongdbat manning.com. Dedicated text search engines can go beyond indexing just web pages to indexing extremely large databases. Text search engines can provide capabilities such as spelling correction, suggestions as to...
on Dec 17, 2014
With the @Resource annotation you define the resource you want to inject. Note this annotation is an older style annotation. Going forward the recommendation is to use the CDI @Inject annotation. In code   @Resource  UserTransaction utx; Enjoy!
on Dec 15, 2014
By Radu Gheorghe and Matthew Lee Hinman, Elasticsearch in Action Geospatial data is all about making your search application location aware. For example, to search for events that are close to you, or to find restaurants in a certain area, or to see which park’s area intersects with the area of the city center, you’d work with geospatial data. We’ll call events and restaurants in this context...
on Dec 14, 2014
With the @PreDestroy annotation you annotate a single method in your class that you want to be called just before your object (EJB, JSF managed bean, CDI bean) is taken out of service. In code   @PreDestroy  public void destroy() {    // put your destroy code here.  } Enjoy!
on Dec 13, 2014
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 manning.com. 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 manning.com. 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 manning.com. 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 manning.com. 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

NetBeans

I had the pleasure to review JavaServer Faces: Introduction by Example by Josh Juneau which has been published by Apress in December 2014. The highlight of the book was the simplicity with which Josh has covered some of the most complicated topics related to JavaServer Faces (JSF). I like how smoothly and seamlessly he can transition from the simple recipes to the more involved and detailed...
on Jan 6, 2015

Java Tools

By Raymond K. Camden, Apache Cordova in Action Save 40% on Apache Cordova in Action with discount code camdenjn14 at manning.com. 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

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 (http://www.merv.id), and we also release the OAuth Server, take a look https://github.com/meruvian/yama, a 2-in-1 project that...
on Nov 23, 2014