JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request JPPF-27  -  J2EE connector: allow user to change task code in demo app
Posted Aug 08, 2012 - updated Dec 19, 2014
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Feature request
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    J2EE
  • Resolution
    Not determined
  • Priority
    Low
  • Targetted for
    icon_milestones.png JPPF Vision
Issue description
The idea is to provide more sphistications in the demo web application for the J2EE connector. We could make the code of the tasks more dynamic, and modifiable by the user. This could be done by having the tasks execute a dynamic script (Groovy, JavaScript, etc...), and providing an editor so they can modify the script before submtting the job.

In fact, this can also be done with actual java code, which can be compiled on the fly using the javax.tools APIs (Java 6.0 and later). I implemented an API to use this easily, see SVN trunk revision 2014