Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP / Tomcat Issue
RAP / Tomcat Issue [message #790268] Sat, 04 February 2012 02:07 Go to next message
J G is currently offline J GFriend
Messages: 2
Registered: February 2012
Junior Member
Hi,

I am developing a RAP application that gets deployed as a war file in tomcat.
In the application, I dynamically generate POJO java source files, compile them, load their compiled classes so I can use them dynamacally.

I have this working in Eclipse (RCP/RAP development), but cannot get this to work in tomcat. I looked into registering a file/folder as a resource using org.eclipse.equinox.http.registry.resources entry points, but this doesn't provide a solution as these files are read-only.

I need to write java source files dynamically from a deployed RAP application and be able to compile, load, and use those classes from within the same runtime instance of the RAP application.

Is this something I configure in Eclipse, or is this something I configure in Tomcat.

Any suggestions would be greatly appreciated.

JG
Re: RAP / Tomcat Issue [message #794879 is a reply to message #790268] Thu, 09 February 2012 20:23 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

what exactly is the problem you want to solve with registering these
resources? Are you looking for a folder to place and compile your source
code files in? If yes, why don't you just create a temp folder in
java.io.tmpdir and compile the files there?

Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP / Tomcat Issue
Next Topic:java.util.MissingResourceException occured after changing to RAP1.5M5
Goto Forum:
  


Current Time: Fri Apr 19 00:45:02 GMT 2024

Powered by FUDForum. Page generated in 0.01726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top