Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Herbert Maosa:
Herewith my code for the ejbCreate and ejbStore. Please help me, I am really stuck here.
The method createUser(String customerID, String firstName, String lastName, String userName, String password ) opens a database connection and executes an SQL insert statement to insert those fields in the database.
The method storeCustomer() invokes an SQL update statement to update the fields firstName, lastName, userName, password from the underlying table.
I have only included the parts of the code that you asked for and I hope you can help me make sense of what is going on.
Thanks,
Herbert.
SCJP,SCJD,SCBCD
Originally posted by raphael Bereh:
BMP is not supported for Entity beans in J2EE 1.3 if this is your platform.
You have to use CMP ! It is said in the J2EE spec. !
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
SCJP,SCJD,SCBCD
SCJP,SCJD,SCBCD
Originally posted by raphael Bereh:
Ooops ,
Kyle, I know in the spec (2.0) there is a whole chapter for BMP Entity Bean .
I have just complited the SCBCD exam, and all books, articles, I read say that BMP/BMT is not for Entity Beans in 2.0
I don't know what to think, please help.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
SCJP,SCJD,SCBCD
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|