File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark ""batch-programs" in IBM WebSphere Application Server" Watch ""batch-programs" in IBM WebSphere Application Server" New topic

"batch-programs" in IBM WebSphere Application Server

Erik Lindholm

Joined: Feb 26, 2002
Posts: 18
I have installed IBM Visual Age V4.0 and IBM Application Server Single Server Edition V4.0.
When it comes to JSP's, Servlets and JavaBeans used i this WEB-application I have so far no trouble in either of the IBM products.
The problem regards what I call "batch-applications", which is stand-alone Java-programs that have a Main-method. These shall only run on the server-side and access the same data-files (user-data) as the WEB-application.
In Visual Age for Java I can start these "batch-applications by right-click the mouse on the class in the class-hierarchy and then select the "Run Main"-action.
My question is:
How can I start this kind of "batch-application" in IBM Application Server Single Server Edition V4.0 ?
I would also like some words about what definition-actions to do in advance.
Can anyone help me ?
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
The answer is you don't do that from WebSphere. Just schedule a CRON job to start them in Unix or use the NT scheduler in NT or 2000.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: "batch-programs" in IBM WebSphere Application Server
It's not a secret anymore!