Back to front Entity bean generation in WebSphere 5.1
posted 10 years ago
I have used WebSphere to make entity beans that are not initially bound to a data source or table. I set my fields and websphere creates the table.
Now I am trying to make an entity bean from an existing table and I am having problems with JNDI. When I do the lookup using the InitialContext (in a stateless session bean), I get a NameNotFoundException. I double-checked the entity beans JNDI name in the ibm-ejb-jar-bnd.xmi file. It matches the jndi name in my session bean..
Also, I am accessing the session bean through a servlet. And I did create the data source on the was test server.