Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts application calling core java

 
ameya n
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another possibility would be to use JMS messaging. Have the core java process "listen" for a JSM message sent by your Struts application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic