Re: life without classloader
Balazs Varnai <[email protected]> Mon, 13 Sep 2010 10:28:37 +0200
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1931540437025990701== Content-Type: multipart/alternative; boundary=001636426e3106d31604901fe2c9 --001636426e3106d31604901fe2c9 Content-Type: text/plain; charset=ISO-8859-1 Hi David, Thanks for the reply! No there is no reflection support either, so the java bean concept would not fit. This could be worked around by having something like a static BeanInfo, for the exposed classes. Anyway looking at the code, it might be better to just experiment from scratch. Regards, Balazs On Fri, Sep 10, 2010 at 12:51 PM, David <[email protected]> wrote: > Does J2ME support the Reflection API's ? > If not then I suspect it will be nearly impossible to port BeanShell. > It might be possible to port BSH without classloaders . > > You might want to pull the source and see how much its used for. > > > > On 9/10/2010 5:29 AM, Balazs Varnai wrote: > > Hi All, > > We are playing around with a game platform in J2ME. As you might know, it's > a very limited environment compared to standard java. To allow some kind of > dynamic behavior, a minimalistic plug-in support needed. Which would be a > peace of cake, but there is no classloader access in ME. Scripting would be > an alternative. > Do you think a striped down beanshell could be adopted to support such an > environment? I would be very thankful for any hints! > > Thanks! > > BR:Balazs > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev > > > _______________________________________________ > Beanshell-developers mailing listBeanshell-developers-5NWGOfrQmneRv+LV9MX5ugtCRVl27V+i0wdF1cv0I5s@public.gmane.org://lists.sourceforge.net/lists/listinfo/beanshell-developers > > > > -- > David A. [email protected]://www.xmlsh.org > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Beanshell-developers mailing list > Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/beanshell-developers > > --001636426e3106d31604901fe2c9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi David,<br><br>Thanks for the reply! No there is no reflection support ei= ther, so the java bean concept would not fit. This could be worked around b= y having something like a static BeanInfo, for the exposed classes. Anyway = looking at the code, it might be better to just experiment from scratch. <b= r> <br>Regards,<br>Balazs<br><br><div class=3D"gmail_quote">On Fri, Sep 10, 20= 10 at 12:51 PM, David <span dir=3D"ltr"><<a href=3D"mailto:dlee@calldei.= com">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_q= uote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 2= 04, 204); padding-left: 1ex;"> =20 =20 =20 <div bgcolor=3D"#ffffff" text=3D"#000000"> Does J2ME support the Reflection API's ? <br> If not then I suspect it will be nearly impossible to port BeanShell.<br> It might be possible to port BSH without classloaders .<br> <br> You might want to pull the source and see how much its used for.<div><d= iv></div><div class=3D"h5"><br> <br> <br> On 9/10/2010 5:29 AM, Balazs Varnai wrote: </div></div><blockquote type=3D"cite"><div><div></div><div class=3D"h5"= >Hi All,<br> <br> We are playing around with a game platform in J2ME. As you might know, it's a very limited environment compared to standard java. To allow some kind of dynamic behavior, a minimalistic plug-in support needed. Which would be a peace of cake, but there is no classloader access in ME. Scripting would be an alternative.<br> Do you think a striped down beanshell could be adopted to support such an environment? I would be very thankful for any hints!<br> <br> Thanks!<br> <br> BR:Balazs<br> </div></div><pre><fieldset></fieldset> ---------------------------------------------------------------------------= --- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful,=20 automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance.=20 <a href=3D"http://p.sf.net/sfu/dell-sfdev2dev" target=3D"_blank">http://p.s= f.net/sfu/dell-sfdev2dev</a></pre> <pre><fieldset></fieldset> _______________________________________________ Beanshell-developers mailing list <a href=3D"mailto:Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" target=3D"_bl= ank">Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a> <a href=3D"https://lists.sourceforge.net/lists/listinfo/beanshell-developer= s" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/beanshell= -developers</a> </pre> </blockquote> <br> <br> <pre cols=3D"72">--=20 David A. Lee <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a> <a href=3D"http://www.xmlsh.org" target=3D"_blank">http://www.xmlsh.org</a> </pre> </div> <br>-----------------------------------------------------------------------= -------<br> Automate Storage Tiering Simply<br> Optimize IT performance and efficiency through flexible, powerful,<br> automated storage tiering capabilities. View this brief to learn how<br> you can reduce costs and improve performance.<br> <a href=3D"http://p.sf.net/sfu/dell-sfdev2dev" target=3D"_blank">http://p.s= f.net/sfu/dell-sfdev2dev</a><br>___________________________________________= ____<br> Beanshell-developers mailing list<br> <a href=3D"mailto:Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">Beanshell-dev= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/beanshell-developer= s" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/beanshell= -developers</a><br> <br></blockquote></div><br> --001636426e3106d31604901fe2c9-- --===============1931540437025990701== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev --===============1931540437025990701== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Beanshell-developers mailing list Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/beanshell-developers --===============1931540437025990701==--