File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts application calling core java" Watch "Struts application calling core java" New topic
Author

Struts application calling core java

ameya n
Greenhorn

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
Greenhorn

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

Classloader http://www.panix.com/~mito/articles/articles/classloader/j-classloader-ltr.pdf

Quartz (scheduler) http://www.opensymphony.com/quartz/
[ June 13, 2007: Message edited by: LeavesHat tran ]

SCJP 1.4, SCWCD 1.4<br />email:mobject@gmail.com
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts application calling core java
 
Similar Threads
Hot deploy war file to Tomcat
Read keypress event in core java?
Log4J
what to so next?
why servlets