Didn't see this email before I responded.

But I think the discussion is just fine here, since various languages 
will have similar challenges deploying an applet. For example JRuby 
would require signing if you wanted full performance, but could run 
interpreted without a signed applet just fine.

Is there a way to run Groovy so that it would not need to be signed?

- Charlie

Guillaume Laforge wrote:
> I guess we'd better move that discussion on the Groovy lists, since
> it's perhaps too Groovy specific?
> Hoping I'm not off-topic, the jar needs to be signed as it uses
> reflection, bytecode generation, etc, some things that are prevented
> by the default security manager.
> 
> On Mon, Nov 10, 2008 at 11:05 PM, Greg Brown <[EMAIL PROTECTED]> wrote:
>> Interesting. Just wondering - why does the JAR need to be signed?
>>
>> I'll be more specific about what I'm trying to accomplish - I want to write 
>> a Pivot application using Groovy:
>>
>> http://pivot-toolkit.org
>>
>> All Pivot applications implement the pivot.wtk.Application interface. Pivot 
>> includes a bootstrap applet that instantiates and executes the application's 
>> lifecycle methods (startup(), shutdown(), suspend(), and resume()).
>>
>> Theoretically, I should be able to implement Application as a Groovy class 
>> and launch that using the Pivot applet. However, I wasn't sure what else I 
>> might need to do (e.g. signing the JAR, including the right libraries on the 
>> applet's classpath, etc.).
>>
>> Apologies if there are obvious answers to these questions - I'm relatively 
>> new to Groovy.
>>
>> Thanks,
>> Greg
>>
>> On Monday, November 10, 2008, at 04:54PM, "Guillaume Laforge" <[EMAIL 
>> PROTECTED]> wrote:
>>> The Grapplet module is a nice improved Groovy / Applet mix, for
>>> instance: http://groovy.codehaus.org/Grapplet
>>> But beyond this, there's perhaps not much documentation because Groovy
>>> can be compiled to bytecode, and you can just bundle that bytecode in
>>> normal JARs without much more complexity (beyond signing the Groovy
>>> jar).
>>>
>>> On Mon, Nov 10, 2008 at 10:50 PM, Greg Brown <[EMAIL PROTECTED]> wrote:
>>>> I guess *I'm* missing something. I haven't been able to find any
>>>> examples that show how to do this.
>>>>
>>>> On Nov 10, 2008, at 4:30 PM, Guillaume Laforge wrote:
>>>>
>>>>> On Mon, Nov 10, 2008 at 10:25 PM, Greg Brown <[EMAIL PROTECTED]> wrote:
>>>>>> This sounds like a very cool feature. I've been trying to figure out
>>>>>> how I might build an applet in Groovy. Are you aware of any examples
>>>>>> that demonstrate this?
>>>>> You can already build applets in Groovy, even without that bridge.
>>>>> Am I missing something?
>>>>>
>>>>> --
>>>>> Guillaume Laforge
>>>>> Groovy Project Manager
>>>>> G2One, Inc. Vice-President Technology
>>>>> http://www.g2one.com
>>>>>
>>>>
>>>
>>>
>>> --
>>> Guillaume Laforge
>>> Groovy Project Manager
>>> G2One, Inc. Vice-President Technology
>>> http://www.g2one.com
>>>
>>>
> 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to