aspose file tools
The moose likes Struts and the fly likes Struts application calling core java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts application calling core java" Watch "Struts application calling core java" New topic

Struts application calling core java

ameya n

Joined: May 14, 2007
Posts: 17
am working on a struts application which calls a core java application with main() function (typical) in a separate thread ......... do any of you guys know the best practice to do such task.........i tried searching on net for resources on it ........couldn't find much ......any good resource or books you guys recommend
Minh Tran

Joined: Jun 03, 2007
Posts: 19
Class loader or scheduler might be an option


Quartz (scheduler)
[ June 13, 2007: Message edited by: LeavesHat tran ]

SCJP 1.4, SCWCD 1.4<br />
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Another possibility would be to use JMS messaging. Have the core java process "listen" for a JSM message sent by your Struts application.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts application calling core java