🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: weblogic.developer.interest.ejb
Article #2

DLL, JNI, Legacy Code, Process and EJB

#2
From: wilhelm
Date: Wed, 17 Oct 2001 21:54
28 lines
2251 bytes
We need to rewrite our RMI suite of Services in EJB
Most of our Services are Thread base and this is find.
Few of our Services are processes base and make the link between ou
new code and old none thread safe C/FORTRAN... code (legacy code)

Like I said we need to rewrite our Services in EJB, so my questions
are:
1- Is there some technology link to EJB that can help me in this work
?
2- What do I do when you want to use a DLL from an EJB ? (DLL are load
in the Process space, so there)
3- What is sun strategy for legacy code ?

Few Idea:
a- Pipeline the users and process them one by one, with a reset in
between.....That is not good enought for us because can be long

b- Spawn a Process that will live on the the EJB's life cycle....This
seem good to me but I read that it not good to spawn a Thread from an
EJB...so even worse for a Process. Does any one see somthing wrong to
spawn a thread or process from a Statefull EJB, I do not see the
problem if I forward the state of my EJB to my Thread ot Process?

Other idea ? or third party tools ?

Thanks 

Wilhelm
Technical Details
Message-ID: <d1d4144b.0110171354.2ffdb7b8@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103125,e8115aad15697c32,start
X-Google-Attributes: gid103125,public
X-Google-Thread: fcfb6,e8115aad15697c32,start
X-Google-Attributes: gidfcfb6,public
X-Google-Thread: 1090f0,e8115aad15697c32,start
X-Google-Attributes: gid1090f0,public
X-Google-Thread: 113ae9,e8115aad15697c32,start
X-Google-Attributes: gid113ae9,public
X-Google-ArrivalTime: 2001-10-17 14:54:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: wilhelmt@mdli.com (wilhelm)
Newsgroups: weblogic.developer.interest.ejb,comp.lang.java.help,borland.public.appserver.ejb-cmp,ibm.software.websphere.application-server
Subject: DLL, JNI, Legacy Code, Process and EJB
Date: 17 Oct 2001 14:54:37 -0700
Organization: http://groups.google.com/
Lines: 28
Message-ID: <d1d4144b.0110171354.2ffdb7b8@posting.google.com>
NNTP-Posting-Host: 208.200.221.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1003355677 7107 127.0.0.1 (17 Oct 2001 21:54:37 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Oct 2001 21:54:37 GMT