Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Running a non-EJB in an application server (Websphere)

Thread Tools

Running a non-EJB in an application server (Websphere)

Posts: n/a

I have a JAVA application which process financial messages received
from the outside world via MQ Series or TCPIP. Essentially it is a
black box. Message in, message out.

The app consists of 2 separate processes - an interface program which
accepts and replies to requests, and an backend component which does
the actual work. The two components talk together using Java RMI.

The application is NOT written as EJBs. Neither does it have any
web-related functionality. It is normally released as a few Jar files,
and run via a script (in turn run as a system service on NT). The
script starts the backend component, the interface component and the
RMI registry using several calls to
java <component name>

Now, I have a client who wants (because it is his "standard") to run
the app under Websphere. So I downloaded the trial of Websphere, but I
can't see how I can run a non-EJB application. It seems I need to
create an EAR file and a "deployment descriptor" for the application.
Is this possible for non-EJBs? Everything I see on the web is about
building EJB apps and Web applications. I have pointed out to the
client that these are the normal usage of Websphere, but he says it
should be possible to use Websphere simply as a "container" for the

Can anybody tell me whether (a) this should be possible, and (b) how I
might make a start on getting it running?


Reply With Quote
Posts: n/a
Barney wrote:
> Can anybody tell me whether (a) this should be possible, and (b) how I
> might make a start on getting it running?

Make it a servlet, package in a war and specify load-on-startup in
your web.xml file.

Reply With Quote

Thread Tools

Posting 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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help for COM running from Web application, but not form .EXE application ASP .Net 1 05-23-2006 03:20 PM
Visual Studio cannot create or open the application because the Web server on this computer is not running Roberto Rocco ASP .Net 2 10-10-2004 12:38 PM
How to get the name of a running application from the application itself??? Bob Rock ASP .Net 2 06-14-2004 06:44 PM
Running ASP.Net Application where site files on remote server Yinka ASP .Net 1 02-05-2004 03:10 AM
Can a web application call methods on a webservice running in the same application Ron Vecchi ASP .Net Web Services 0 08-04-2003 09:08 PM