This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to deploy an Entity  bean and how to connect with the cloudscape database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to deploy an Entity  bean and how to connect with the cloudscape database" Watch "How to deploy an Entity  bean and how to connect with the cloudscape database" New topic
Author

How to deploy an Entity bean and how to connect with the cloudscape database

narayanan gopinathan
Greenhorn

Joined: Jul 13, 2001
Posts: 2
Helo,
Please tell me the detailed steps involved in deploying an Entity Bean and to connect to a cloudspace Database. Am using Weblogic server
Narayan
Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
are you using the jdbc-odbc bridge that is part of the J2eesdk?
Originally posted by narayanan gopinathan:
Helo,
Please tell me the detailed steps involved in deploying an Entity Bean and to connect to a cloudspace Database. Am using Weblogic server
Narayan

Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
If your answer to my previous question is yes...here is what you'll have to do in jdbc
Class.forName("COM.cloudscape.core.JDBCDriver");
Connection cnxn = DriverManager.getConnection("jdbc:cloudscape:dbname");
Statement stmt = cnxn.createStatement();
ResultSet rs = stmt.executeQuery("select * from TABLE1");
Hope this helps.
Roopa.
Originally posted by narayanan gopinathan:
Helo,
Please tell me the detailed steps involved in deploying an Entity Bean and to connect to a cloudspace Database. Am using Weblogic server
Narayan

narayanan gopinathan
Greenhorn

Joined: Jul 13, 2001
Posts: 2
Helo Roopa,
Thanx for the reply. Actually my problem is getting the total steps involved in deploying an Entity Bean. So if u can tell me those complete steps, thats great. Anyway thanx once more for ur reply. Expecting ur reply
Narayan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to deploy an Entity bean and how to connect with the cloudscape database