Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP / Tomcat Issue
RAP / Tomcat Issue [message #790268] Fri, 03 February 2012 21:07 Go to next message
Eclipse UserFriend
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 15:23 Go to previous message
Eclipse UserFriend
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: Wed Jul 09 14:18:57 EDT 2025

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

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

Back to the top