Hi!

I had a closer look on the bank-account-customer-teller example and got
some 
good ideas from it.

Like the Bank-Bean, I also have a db-table with a primary key that should
be automatically incremented. So I also tried to generate the id with this
line:

id = (String)getInitialContext().lookup("java:comp/env/id");

When executing the ejb-client I get a javax.naming.NameNotFoundException. 

So, I do I get this "ID-Service" ?

TIA
Bjarne

-- 
Sent through GMX FreeMail - http://www.gmx.net



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to