Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

Use Java classes in other languages

Thread view: 
moop™ - 22 Nov 2005 12:46 GMT
Hi,
I build some experimental languages, and want to make use of the Java
libraries in these languages. The way is like Groovy and other Java
alternatives, and I want to realize the idea in Reflection API. Are
there any packages ready for bridging Java libraries to other
languages?
Ingo R. Homann - 22 Nov 2005 12:58 GMT
Hi,

moop™ wrote:
> Hi,
> I build some experimental languages, and want to make use of the Java
> libraries in these languages. The way is like Groovy and other Java
> alternatives, and I want to realize the idea in Reflection API. Are
> there any packages ready for bridging Java libraries to other
> languages?

What do you mean by "I build some experimental languages"? Are they
running on the JVM (like Groovy, AFAIK)? Or compiled to native code? Or
inside an interpreter you implemented in Java (or in a native language)?
Or is this just a vague idea?

Anyway, CORBA or JNI might be useful for you.

Please provide mor information!

Ciao,
Ingo
Roedy Green - 22 Nov 2005 13:30 GMT
>Are
>there any packages ready for bridging Java libraries to other
>languages?

One way of handling that is two write a compiler for he JVM that
generated byte code. You can think of it as writing a compiler for a
PicoJava CPU chip.

USING JNI would be horrendous unless you just needed a few things. JNI
is like eating with chopsticks held with your toes.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Jeffrey Schwab - 22 Nov 2005 16:25 GMT
> On 22 Nov 2005 04:46:43 -0800, "moop™" <samhng@gmail.com> wrote,
> quoted or indirectly quoted someone who said :
[quoted text clipped - 9 lines]
> USING JNI would be horrendous unless you just needed a few things. JNI
> is like eating with chopsticks held with your toes.

That brings a whole new meaning to "going native." :)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.