Sam Smith | 25 May 2011 04:02
Picon
Favicon

Replacing Reflection with MedthodHandles

Not sure on the current state of the project-but have there been any discussions about replacing Reflection calls with MethodHandles?  This is of course Java 7 stuff.  Not sure if it will really be better performance wise-but that is the hype anyway. 

Thanks,
S
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
peter.crull | 12 May 2011 20:24
Picon
Favicon

bsh-1.3.0 Source Code

Greetings,
 
I’m trying to find the source code (preferably from a SVN repo)  for beanshell 1.3.0 and haven’t had any luck.  I’ve located and checked the repo located at http://ikayzo.org/svn/beanshell/ , however, it appears to be the source for the latest version, only.
 
Is there a “tags” directory located somewhere, or just a Jar or Zip file containing the source for 1.3.0?
 
Thanks.
 
Peter
 
 
 
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
Kevin Crowe | 4 May 2011 18:04
Picon

http download location for source ?

Hello,

I'm looking for the latest (official?) http or ftp download location for bsh-2.0b4-src.zip - or whatever archive format beanshell 2.0b4 is in.

This page:
http://www.beanshell.org/developer.html

Has this link:
http://www.beanshell.org/bsh-2.0b4-src.zip

However that gets me a "Not Found" error.

Thanks in advance for any information,
Kevin.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
Balazs Varnai | 10 Sep 2010 11:29
Picon

life without classloader

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 list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
VVenkataKrishnan | 19 Aug 2010 08:56
Picon
Favicon

Re: Class loading


thanks for you reply, harlon. I would like to know how the packages are run before executing the java statement? any idea where to find the source in the beanshell library.
Is the package finding is like this, iterate the available packages using the java.lang.Package and match each package with the input class name string, for ex "String" or "InputStream" or "JButton".

Thanks
V

---------------------


The interpreter maintains a global import list, just like a compiler.
If an interpreter is created and a series of import commands run
before a statement like that is seen, the interpreter uses that import
list to resolve unqualified classnames. I forget where the code to do
that is, but there is no magic. There is also a small list of default
packages that are always imported, I think.

On Wed, Aug 18, 2010 at 9:35 PM,  <VVenkataKrishnan-zqTpqVL1DLOWtWZxqpM3ag@public.gmane.org> wrote:
>
> Hei,
>
> Interpreter i = new Interpreter();
> i.eval("String s = new String(\"Hello World!\");");
>
> In the above Java statement i wish to know how the beanshell invokes the
> class "String" without its package being specified. How does it associates
> the namespace.
>
> I have a small requirement like this, to dynamically invoke simple Java
> statements and invoke Java classes dynamically. I have a small interpreter
> developed for this. As the requirement is urgent, although i had read few
> sources of beanshell i would like to get the answer from the experienced
> than by finding all my myself.
>
> Thanks
>
> V
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Beanshell-developers mailing list
> Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/beanshell-developers
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
VVenkataKrishnan | 19 Aug 2010 06:35
Picon
Favicon

Class loading


Hei,

Interpreter i = new Interpreter();
i.eval("String s = new String(\"Hello World!\");");

In the above Java statement i wish to know how the beanshell invokes the class "String" without its package being specified. How does it associates the namespace.

I have a small requirement like this, to dynamically invoke simple Java statements and invoke Java classes dynamically. I have a small interpreter developed for this. As the requirement is urgent, although i had read few sources of beanshell i would like to get the answer from the experienced than by finding all my myself.

Thanks

V
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
keith preston | 30 Dec 2009 21:36
Picon

Running Scripted Command in separate namespaces?

I've noticed that all scriptedCommands are executed in the Global
Namespace.   I see two problems with this:

1. Misbehaving scripts can pollute the global namespace if they have
subfunctions or global variable in the scriptedCommand.  This give
rise to the possibility of name collisions.
2. In long running scripts that use lots of scriptedCommands, all of
the compiled form of the scripted commands is kept in memory.   This
can cause a lot of extra memory to be used (possibly running out).

I've actually run into both of these in my use of the Beanshell
engine.   I propose the following patch to beanshell that modifies
scriptedCommands to run in a seperate namespace, which solves both of
these problems.

Keith Preston
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
Paul Landes | 5 Dec 2008 20:28

Status of project and adding 1.5 generics

I'm resending part of this message as I'm now on the devel list and
might have gotten bounded.  Sorry for the extra noise here, folks.
I'm not having great luck with the mailing lists.

--

Pat et al,

Are there any plans of adding Java 1.5 generics to beanshell any time
soon?

Also, it appears there hasn't been a release in a while.  What's the
status of the project?

Thanks.

--

-- 
Paul Landes
landes@...

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
me tk82c | 2 Nov 2008 13:49
Picon

JME support

Hello!


   There is any plans to support BeanShell on Java Micro Edition?

Thanks,

--
tk
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
James Davies | 16 May 2008 06:29

A few performance tweaks

Hi. I'm currently using BeanShell in a project that runs a lot of concurrent threads. I've found that there were a few performance bottlenecks calling Class.forName

I fixed one typo in some caching code, and shuffled things around a little bit to make things a little more efficient. This cleared up some deadlocks resulting in a 4x speedup in my application (Due to the way I'm using BeanShell; I doubt it would have as much of an affect in normal scenarios). 

Attached is a diff file from the current subversion snapshot if you're interested in merging the changes.

Regards,
  James.

Attachment (bshdiff.diff): application/octet-stream, 2575 bytes
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers@...
https://lists.sourceforge.net/lists/listinfo/beanshell-developers
Daniel Leuck | 16 Apr 2008 04:43
Gravatar

Hacking BeanShell with JavaCC

Hi Guys,

I recently wrote a blog post that may be of interest to BeanShell
developers.  The short post demonstrates how easy it is to add simple
features to the language:
http://www.techhui.com/profiles/blog/show?id=1702911%3ABlogPost%3A10425

I plan to do a few follow up posts covering additional features such
as named arguments and extender methods.

--

-- 
Daniel Leuck
President
Ikayzo, inc.
+1 (808) 539-3804 (US Direct)
+81 03-3655-2829 (Japan Direct)
+1 (808) 393-9119 (Mobile)
+1 (808) 591-1496 (Fax)
http://www.ikayzo.com
http://www.javaui.net

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Gmane