Where should one put classes that are shared between their ejbs and their
web interface?
Do you create a jar file and put it in the ear? Put in orion's lib dir?
Thanks,
Lou Farho
winmail.dat
.
The front door should be your slsb so you can control what they put in or
take out.
Lou Farho
Certes Solutions, Inc.
http://www.certes-solutions.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Eggink
Sent: Monday, May 07, 2001 2:08 AM
To: Orion
How can I get the
source for counter.jar?
Thanks!
jb-location="jdbc/myDS"connection-driver="COM.cloudscape.core.JDBCDriver"username=""password=""url="jdbc:cloudscape:myDB"inactivity-timeout="30"/
Lou Farho
Certes Solutions, Inc.
2485 W MAIN ST
SUITE 205
Littleton, CO 80120
303.798
I am not sure this will help but here it goes.
My problem was were to put classes shared by my web app and my ejbs. I
wanted to jar them up and put them some where. I asked around and got
various responses. The response I found most useful was to put the classes
in the ejb.jar file. So, if you
data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Cloudscape"
location="jdbc/CloudscapeCoreDS"
xa-location="jdbc/xa/CloudscapeXADS"
You should search the mail archive and www.orionsupport.com first to look
for answers.
This has been cover.
Orion will always generate a new orion-ejb-jar.xml what you need to do is
make a copy in your source tree somewhere. Make your mods. Then add the
file to your ejb jar. Orion will look
A
better alternative is to use Cloudscape instead of Access.
See
Orion's support page for setting this up or search the maillist for
cloudscape.
It is
simple to use and download is free for development.
http://www.cloudscape.com/
Also,
you will be able to use a type 4 JDBC driver which
The servlet is running on orion so you don't need to elaborate on the
context.
This should get your ejb:
Context context = new InitialContext();
// Get home interface
CommandHome cHome = (CommandHome)context.lookup(Command);
// Create a