Jen,
In my experience the best results here are obtained by buoilding the
table yourself and doing your own indexes. You can get some more performance
out of the DB by tuning it. The DB is likely where the performance hit will
be, not in the EJB, but I have not really did any testing on that t
I don't know. But then again, this is an orion-list and it wasn't
cross-posted to any other forum, so... :) :) :)
On Fri, 12 May 2000, Neville Burnell wrote:
> Are the Counter classes free to distribute? (and preferably open source)
> If not then using them will tie you to Orion.
>
> Kind Regar
If I want to display a large rows of a table , How can I use the finder method to do
so?
If I use findAll, it may be very slow? Is it ? Can any body give me a exprience about
find a large ejb objects by index
Can somebody give sugesstion in EJB how to use String as primary key and cmp-field?
Some database dont' allow too larg varchar type to be primary key but if I set the
String OR-Mapping to small, the String langth will be limit on other EJB cmp-field, I
know build my table by hand, by is there a
Are the Counter classes free to distribute? (and preferably open source)
If not then using them will tie you to Orion.
Kind Regards
Neville Burnell
Business Manager Software
> -Original Message-
> From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 12 May 2000 10:25 AM
Hi,
Can somebody give me step by step instructions on to
how to deploy ejbs to orion server. I am at the stage
where I have already created .java files, compiled
them and created ejb-jar.xml file. From this step
onwards how do I generate the stubs and skeletons and
create new jars and how do I de
I believe if you look, there's a class called CounterUtils that wraps all
this nicely.
Can't remember the usage, but offhand it's something like
CounterUtils.getNextID(jndiLocation, beanname);
Cheers,
Mike
australia.internet.com - http://australia.internet.com
Email: [EMAIL PROTECTED]
Phone: (
Since this is a common problem that ends up getting asked a lot, and there
are few published good ways to go about it... it turns out orion has a
file in the news app called "counter.jar" that does just this. Here's the
quick-and-dirty on its use:
1) Add the counter.jar to the application.xml fil
Hi, all!
I've finally got it all working, the XML header
and changing from the tag to tag, made
it possible.
Just want to thank everyone that helpt me out, in
a time of chrisis. Thanks all.
/Robert Karlsson
Does anyone have the "create table" entries needed for defaultdb.script? If
you could post them I would appreciate it.
Thanks,
Kirk S. Kalvar, Software Engineer
DRS Electronic Systems Group
FYI
I had same problem for Product client.
You have to add CREATE TABLE (.)
to the defaultdb.script file
The defaultdb.script is read/writes by hypersonicsql.
rgds
minnam
-Original Message-
From: EXT Kalvar, Kirk [mailto:[EMAIL PROTECTED]]
Sent: 11. May 2000 17:11
To: Orion-Inter
Great product! I've spent weeks looking at app servers (both commerical
and open source) and was impressed with what I've seen.
I have the app server up and running (whew! that was easy) and installed
Hypersonic SQL. When registering with the ATM demo I receive the
following error below.
Title: RE: Trouble getting Orion working with Oracle in data-sources.xml
Your class, url and connection-driver attributes are set incorrectly. They should be:
class="com.evermind.sql.ConnectionDataSource"
url="jdbc:oracle:thin:@laptop:1521:mas"
connection-driver="oracle.jdbc.driver.OracleDri
I have been working with Oracle and Orion since January.
The class attrib is the connection pool class not the driver class. The url
attrib is the JDBC url. And the connection-driver attrib is the Oracle
driver.
So it should look something like this:
I would also recommend using the classes1
FYI
I thought that ProductClient demo
will itself creates the table.
It seems it doesn't.
So i added a line at the top of file
../database.script as follows
CREATE TABLE MYPRODUCT(ID INTEGER PRIMARY KEY,NAME VARCHAR,DESCRIPTION
VARCHAR,PRICE DECIMAL)
and now the product client demo works.
Th
After some serious trial and error to get the Orion server up and running
with an existing set of EJB code, I have finally succeeded in getting my
Entity Bean auto-deployed and the server now seems happy.
So, being naive, I simply grabbed a TestSuite.java client program to try
and test the new En
I'm having trouble propperly configuring
data-sources.xml.
This is what my data-sources.xml looks like:
name="Default
data-source" schema="database-schemas/oracle.xml" class="oracle.jdbc.driver.OracleDriver" location="jdbc/DefaultDS" pooled-location="jdbc/DefaultPooledDS" xa-loca
I wanted to follow up and explain how I resolved this problem.
First, because I was using code I had written using Jonas, there were
EJB-1.0 coding styles in the code (namely the code to get the InitialContext
and the bean's Home) that had to be updated. I fixed the call to get the
InitialContext
18 matches
Mail list logo