Here's what I want to do. I want to store code objects in my hibernate driven java swing application. I want to allow the user to create code objects that can affect the data with a limited scope, like in a function with only access to members of that member's class. I'd even really like to have a full on little ide (though scaled down with all the irrelevencies hidden) in there which would allow auto-completion and have a button to compile and check, then have all that wrapped so I can drop the thing in my database and schedule it's execution.
Anyone have a good idea, know a good component or way to use eclipse or some such to accomplish this without having a roll out a solution myself?