Forums Register Login

EJB JDBC Connection

+Pie Number of slices to send: Send
Hi
I am new to EJB.

I required help for Connecting to Database through EJB.

I know to create Entity Bean And Session Bean , but I want to develope the application which validate Login And Password from database.

I read from Mastering Enterprise JavaBeans(Third Edition) 8th Chapter(Writing Container-Managed Persistent Entity Bean)

I know to write <query></query> in Deployment Descriptor

I am using BEA WebLogic server 8.1 , When I build Project jar file automatically created in that WEB-INF folder contains ejb-jar.xml(Deployment Descriptor)

ejb-jar.xml is in jar so I can not modify that file to <query> tag
+Pie Number of slices to send: Send
Just edit ejb-jar.xml file in the META-INF directory to insert the <query> elements. Then rebuild and redeploy.
+Pie Number of slices to send: Send
Thanks for Reply

But please send more details

I can't edit ejb-jar.xml file because it is in META-INF Folder and this folder is in jar file
+Pie Number of slices to send: Send
The JAR file is output from the build process. You need to get the original source code onto your PC.
grapes are vegan food pellets. Eat this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 600 times.
Similar Threads
Error with data source and jndi connectivity
BMP Deployment descriptors
JBOSS CMP finder methods
JNDI/Deployment Error WLS 7
[SCBCD 1.3] tables names for CMP entity beans
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:19:10.