 |
 |
EJBs Anyone?
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
I am interested in learning EJBs. Is there shareware application server out there that runs on MacOS X. I already tried installing JBoss
from jboss.org and keep getting a class not found error. I thought Apple's java implimentation was complete. Any comments? Hints?
All appreciated.
-FB
|
|
iMac 17" G4 800MHZ & 768 SDRAM
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2001
Location: Beverly Hills, CA, USA
Status:
Offline
|
|
it is complete...u may want to try joining apple's java dev. list....there are a lot of ppl who are very knowledgeable and have got it running already....
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
I got ENHYDRA running without problems. I still need to get some actual EJBs loaded but even if I fail at that stage (I hope don't) this server runs servlets and JSPs pretty well -it implements Tomcat
It is fairly well documented and looks like a winner. Check it out at
www.enhydra.org
[This message has been edited by DaGuy (edited 04-04-2001).]
[This message has been edited by DaGuy (edited 04-06-2001).]
|
|
iMac 17" G4 800MHZ & 768 SDRAM
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2000
Status:
Offline
|
|
You might want to take a look at Orion (http://www.orionserver.com)
It's free for non-commercial use and very reasonable for commercial endeavors. It's implemented completely in Java, and runs just fine on OSX.
|
|
|
| |
|
|
|
 |
|
 |
|
powert
|
|
JBoss required Jdk1.3 for the auto-deployer to work. Wouldn't therefore work on PB. I've not tested it yet on release. Only got it today.
JOnAS (the ENHYDRA) one mentioned is first class. And it worked very well for me on PB. JBoss''s overhead is much greater than JOnAS. I've managed to get JOnAS working also with Mysql on transaction safe tables (Berkeley DB, compiled into mysql 3.23.36 -- comes with the source and compile option --with-berkeley-db).
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
Lots of good stuff going on! What is the berkeley db? How does it complement MySQL?
|
|
iMac 17" G4 800MHZ & 768 SDRAM
|
| |
|
|
|
 |
|
 |
|
powert
|
|
EJBs are founded on transactions, implementing the Corba transaction specification (ie JTS).
To use EJBs properly therefore you need to be able to use transactions on your database tables. MySQL by default is 'atomic' means it doesn't use transactions, because they are much slower. Oracle is a very transaction orientated database.
With MySQL compiled with Berkeley DB you have an alternative table type to the norm -- try:
show table status;
and you will see MyISAM as the table type, if you create a table like this:
create table mac( int version) type=BDB;
and execute show table status; again you will see table type as BDB which means you can now use the mm jdbc driver 2.0.4 (latest release) with transactions in your EJBs! Otherwise you'll have to use instantDB or something like that which is Enhydra also.
I'm using the MySql 3.23.36 with Berkeley on OpenBSD at the moment, have not been able to get it working on OSX 10.0, get a threading not possible error on startup, yet it compiles ok. I've only had OSX 10.0 for a day so no fiddling yet....
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
Thanks very much for the details. I now see what's going on.
Good luck with your work/experiments.
|
|
iMac 17" G4 800MHZ & 768 SDRAM
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|