Both are the same, but the later one calling the method you need to create String  first and then call while the first one you can call it without creating String . More @ stackoverflow
Some of the most interesting people in business, founder of Excite, have you ever used it ? Founder of FriendFeed and former employee of google and Seth, creator of scavenger. Watch it if you have time.
It is easy to use Google Sites, Google apps and Google blogs (next generation name for blogger). But it is not that easy to remember if you have registered your blog with one of these services long time ago or is it someone else ? I am saying that for those who encountered this problem in hosting… Continue reading Google Hosting and its problems
I am looking into Hibernate / Jasper report integration. It seems that Jasper Report has not initially been compatible with Hibernate but only from it later versions. This make life harder when it comes to the nature of Jasper Report, whom as a novice I believe treats everything as a row and should be inputed… Continue reading Hibernate / Jasper Report Integration
Problem: App server is JBoss, I created the Jar file for the bean class and interface in the right directory. Now I created a simple client using EJB annotations, but I am getting a NullPointerException. Solution: EJB annotation is an incejction, it is supposed to be deployed on the app server and then executed in… Continue reading @EJB Annotation in EJB Client