This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!

Frits Walraven

Creator of Enthuware JWS+ V6
+ Follow
since Apr 07, 2010
Frits likes ...
Android Chrome Eclipse IDE
Amersfoort, The Netherlands
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Frits Walraven

Also another thing that I would like to ask: Is it really needed to transform my @WebService annotated class in an EJB using the @Stateless annotation?

No, in EE6 it isn't needed. A Webservice class is by default wrapped into a Servlet. In EE5, as far as I remember, you needed to add some configuration otherwise the Webservice class was just a POJO.

I just did a small test on Glassfish v3.1.2 and it worked without any problems. (in Eclipse I created a Dynamic Web Project with Target Runtime pointing to Glassfish).
Ok, the problem now is that you can't package an EJB inside a WAR in EE5. That feature is introduced in EE6.

Are you stuck on EE5?

The Webservice class is now handled as a POJO (or did you add some configuration to treat it as a Servlet?). Injecting an EJB inside a POJO doesn't work.

Am I missing something? I'm available to give more details if needed.  

Please remove the mappedName attribute (2 times) from the EJB as it is an not portable propriety attribute.

Apart from that I would make the WebService an EJB (add @Stateless on top of it) as you are calling it in a EE-environment. You might have a look at my notes, chapter 7 (OCEEJBD-Links)
Although I haven't looked at the puzzles, but I just enjoy reading your posts. It must be good fun.

All of you deserve a Cow!
Note that there is not one single book to prepare you for the exam!  
Start your preparation by reading either EJB 3 in Action (Manning) or Enterprise JavaBeans 3.1 (OReilly, 6th Edition).

I have made a summary of the specifications that are important for the certification (check the notes section of the OCEEJBD-Links). Read, understand and study those and finally get the Enthuware mock exams.

Don't forget to write your own code to verify what you have learned.

Good Luck!  ....and don't forget to post your questions in this forum.
Congratulations Tim.... don't let the Cows wait too long  
1 week ago
and lets make it twenty Cows, congratulations      
1 week ago
It looks like you are right and they extended it with an extra year.

If you want to be sure just contact their support people: Oracle Support
I changed to the new view a long time ago and I made use of the dashboard functionality and I have used the "Most recent topics table" with pleasure, you might want to try it as well (or build your own):

My Profile > Site Personalization > Default view on the home page
1 month ago
Congratulations Eric  
1 month ago

Well done.... and I think you will be one of the first and one of the few  

The java EE-certification stuff is nearly dead since Oracle took over (...and gave it away)
1 month ago

We have to click on My Profile, select message we have post, and from there to find out our own profile (about me).

I think you mean My Posts, right?

To get to your own profile, you will have to click My Profile, and then View public profile (including list of all your posts/threads)
3 months ago