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.