Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > EJBs Anyone?

EJBs Anyone?
Thread Tools
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Apr 3, 2001, 08:08 AM
 
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
Reply With Quote
Apr 3, 2001, 12:18 PM
 
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....
     
DaGuy  (op)
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Apr 4, 2001, 08:05 AM
 
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
Reply With Quote
Apr 8, 2001, 03:21 AM
 
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
Guest
Status:
Reply With Quote
Apr 9, 2001, 11:54 AM
 
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).
     
DaGuy  (op)
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Apr 9, 2001, 07:54 PM
 
Lots of good stuff going on! What is the berkeley db? How does it complement MySQL?
iMac 17" G4 800MHZ & 768 SDRAM
     
powert
Guest
Status:
Reply With Quote
Apr 10, 2001, 12:12 AM
 
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....
     
DaGuy  (op)
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Apr 10, 2001, 08:28 PM
 
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
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2