I would like to insert 2 rows into the DB table. I got the home instance of the Entity Bean. Can I insert 2 rows by just calling 2 create methods from the same home instance or I'd have to create another instance? Thanks, Sharad
Of course you can use the same home object for both create method calls.
Generally you can think of the home object as one-per-deployment. You can't "create" a new home instance. All you can do is look up the home instance. If you look up the home twice, logically you get the same object. So running a second lookup before calling the second create really doesn't change anything.