Hi Everyone,

I am a new user to EJB and trying to work on a small project to extract
reports from the cloudscape DB using EJB.

I am using statless session beans to connect to the DB and writing queries
in that to generate reports.I have created the application and also the
client to connect to it.

The DB is already available in cloudscape and i don't have to make any new
tables.

My problems are:

1) if i am using
        private String dbName = "java:comp/env/jdbc/regDB";
        InitialContext ic = new InitialContext();
        DataSource ds = (DataSource) ic.lookup(dbName);
        con = ds.getConnection();

  im my session bean to get connection to the DB then what (arguments or
environment properties)should i be including on the command line to run the
client.The name of the DB is regDB.

2)do i need to have cloudscape running in another Dos window all the time or
just having the DB is enough.

3) where should and how should i specify the absolute or relative path to
the DB,regDB.I guess it could be in the variable "env" in the logical db
name but how?

Thanks
Nishchal
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to