Win a copy of Spring Boot in Practice this week in the Spring forum!

Nils Mueller

Greenhorn
+ Follow
since Nov 29, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nils Mueller

Hi there,
I'm preparing for SCBCD, as well. I'm using the Head First EJB which I find very, very good. Preperation time - well obviously depends on your prior EJB experience and how much time and effort you put in. I was on a HelloWorld EJB level before starting with Head First and think I'd pass the test right now - after one week of pretty intense studying. My score would probably suck though. The book itself says you'd need 3 to 10 weeks - sounds about right.
good luck
Nils
Ups, you're right, for sure.
ejbCreate for SessionBeans => void
ejbCreate for EntityBeans has return type of the primary key!
For above mentioned reasons and also:
public Object getPrimaryKey() throws RemoteException
in the component interface.
thanks!
Nils

remember (or learn an ejbCreate() method always has a void return type.
I suppose you could compile it (if you returned an int) but you couldn't deploy it.
ejbCreate() --> always void
greetz
Nils