Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds


  Asked By: Danielle    Date: Nov 25    Category: Java    Views: 604

I have a small doubt in EJB's..

Where does the database(JDBC) info (oracle or sybase or db2)
is stored in each of these cases. Container Managed
and Bean Managed.


Is the JDBC info stored in DD(Deployment Descriptor)?

Can anyone send a sample DD.

Out of the blue:
I had/have a doubt whether computers support fluorescent colors?

24.5 million colors.. and is fluroscent one of these?

If any one has idea can someone give hex values for
fluorescent green
fluorescent pink



2 Answers Found

Answer #1    Answered By: Bonifaco Garcia     Answered On: Nov 25

In bmp  these things such as getConnection(), createStatement(),
executeQuery() and ... are used in ejbLoad().
Instead in cmp  persistent fields for EJBs are included in a DD file which
in WebLogic is ejb-jar.xml
for example:


Plus some little things in weblogic-ejb-jar.xml
JDBC stuff such as datasource, table and also mapping between the fields
defined in ejb-jar.xml and the actual attributes of the underlying table
goes into weblogic-ejb-jar.xml


Answer #2    Answered By: Estella Mitchell     Answered On: Nov 25

As you may know I am in NY and working to have another dedicated server
in east coast (NY, Boston, Albany ...) so if you guys have a client
(serious ones) let me know. It would be linux (or similar) with database
connectivity. JSP/J2EE/PHP would be supported ...

Also I can do hosting for charity stuff or more importantly for Important
Interesting Persian(Iranian) sites.

Didn't find what you were looking for? Find more on JDBC in DD? Or get search suggestion and latest updates.