Re: [JBoss-user] B2B call inside ejbCreate

2001-07-16 Thread Marcel Schepers
To answer my own question, it works. That covers the technical part. Still wondering, it is good practice to do so? This is the code: public Long ejbCreate(String userNickName, String codeId, Integer gadgetId, Integer value) throws RemoteException, CreateException{ if (Globals.DEB

[JBoss-user] B2B call inside ejbCreate

2001-07-16 Thread Marcel Schepers
Hello, Is it allowed to make a internal B2B call inside the ejbCreate method. I have a CMP entity bean whose primary key is a Long value. The new Long value is stored in a separate table with a separate entity bean. While creating the bean I would like to make a call to get the new primary key of