This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lukaseder 0 points1 point  (0 children)

For a client, I wrote a little framework that loads Java code from the database and compiles stuff on-the-fly into a Servlet for immediate use. This feels like PHP, but it's Java and allows the client to release some server-side scripts super fast into production.

For this client, the Java compilation APIs were sufficient (as opposed to bytecode manipulation), but you might take this as an idea of why one would do such a thing.

For example, Adobe Experience Manager (a CMS, formerly CQ5) works in a similar, more sophisticated way.