This is a mirror of official site: http://jasper-net.blogspot.com/

jni4net

| Wednesday, April 27, 2011
bridge between Java and .NET (intraprocess, fast, object oriented, open-source)

How it works
jni4net-overview.png

Using reflection we grab public method signatures for core classes of .NET and Java and generated proxy classes for the other side.
We have .NET version of JNI API. 
We use JNI to forward the call from .NET proxies to methods on real Java objects. 
We use JNI to register .NET implementation of native methods of Java proxies to forward call to methods on real .NET objects.

Features

Intraprocess - it means that both VMs are in same process. Any call uses same thread and same stack for both environments. It's relatively fast.
Proxies - we use proxies which look like and behave like the real/original object. Marshaled by reference except for primitive types and arrays.
Garbage collected - if you don't create cycle between VMs heaps, the proxies and instances are collected and released properly.
Proxygen - tool to wrap your own library. Works with reflection, so you need just .jar or .dll, and proxygen config file. You could wrap most CLR or JVM classes.
Core - core classes of JDK and .NET framework are already included in jni4net. Using that for reflection and invocation across the boundary is possible.
Samples - are included with the binaries. See ReadMe.txt in directories
Troubleshooting - use knowledge base or ask people
Platforms - at the moment only Windows 32 and 64 bits. CLR 2.0 and CLR 4.0. JRE 1.5 and above.
License - opensource, GPL tools and LGPL runtime
Status - currently Alpha quality. Lot of work ahead, lot of ideas, lot of missing features, looking forward to community feedback.
Contact - use mailing group or talk to pavel.savara@gmail.com

.NET/C# to Java Hello World -> Full sample

using net.sf.jni4net;
public class Program
{
    private static void Main()
    {
        Bridge.CreateJVM(new BridgeSetup());
        java.lang.System.@out.println("Greetings from C# to Java world!");
    }
}

Read more: jni4net

Posted via email from Jasper-net

32 comments:

Anonymous said...

lnpz longchamp bags ZrvIfm 3493
longchamp outlet tsmh http://www.longchampbagspurse.com/ longchamp outlet

Rubdl dzlfds longchamp handbags 0840
longchamp outlet sfjt http://www.longchamphandbagsusa.com/ longchamp outlet

mtso longchamp sale DmtNt paris p 9431
longchamp outlet cnrq http://www.longchampsalepurse.com/ longchamp outlet

Zuhgn oksweb longchamp le pliage dry1717
longchamp outlet puya http://www.longchamplepliageus.com/ longchamp outlet

Vdopp longchamp tiihwv
Tjy longchamp outlet zq asa longchamp paris ivm
Jodwl longchamp vrbt long champ mr longchamp sale tyehen
Qlf longchamp outlet vn cks longchamp paris sob
Nvp longchamp le pliage dp longchamp mjw longchamp le pliage rmy
Iid longchamp outlet ac ok longchamp bags y longchamp paris eon

Anonymous said...

http://kvartira-arbat.ru/forum/topic/hermes-bags-7c4b7?replies=1#post-175564

http://themoveright.com/forum/topic.php?id=20002#post-20856

http://www.therealm3.com/moguls/nycbxiiq/activity/

http://www.latincollectiveuk.com/forums/topic.php?id=127340

http://slackercomics.com/ads/entry/www-bagslongchampusa-com-hh655

http://member.gtscoalition.com/activity/

http://wemarch.org/forum/topic/hermes-bags-0l9a2#post-111448

http://blog.toyota.ee/forum/topic/hermes-handbags-3i2k7?replies=1#post-1674

http://gifi2012.com/bbpress/topic.php?id=5031&replies=1#post-5505

http://1l2l3l.com/topic.php?id=625890&replies=1#post-638856

http://www.vistadorada.com/forum/?new=1

http://esltreasure.com/forums/topic/hermes-purses-8o2z5?replies=1#post-752525

http://www.visszfuvar.hu/add-new/

http://profootballhuddle.com/bbpress/topic.php?id=129566&replies=1#post-134043

http://ubomdaki.com.br/members/usabkdzqc/activity/

http://thecurlfriend.com/activity

http://dream2be.com/node/120355

http://club.enthu.in/activity/

http://datingbook.in/forums/topic/35/mulberry-hobo-satchel-gear/view/post_id/90

http://www.menopausechatter.com/members/usawokaxmarybiblllmarybiblll/activity/

Anonymous said...

Soobbylag SoobbylagJB
Arian Foster Jersey
Whtie Jason Pierre-Paul Jersey
Victor Cruz Jersey

Anonymous said...

tramadol 50 mg what does tramadol 50 mg do to you - tramadol and high blood pressure

Anonymous said...

buy tramadol online tramadol medication no prescription - lowest dosage tramadol

Anonymous said...

generic xanax xanax generic - effects of 2mg xanax

Anonymous said...

xanax cost what does xanax and alcohol do - xanax withdrawal signs

Anonymous said...

buy carisoprodol carisoprodol 350 mg addictive - carisoprodol in drugbank

Anonymous said...

buy tramadol online tramadol for dogs an 627 - buy tramadol online mastercard overnight

Anonymous said...

buy tramadol online effects of 100mg tramadol - 200 mg tramadol overdose

Anonymous said...

buy tramadol online cloridrato de tramadol 100mg - tramadol discount coupons

Anonymous said...

xanax online order xanax off internet - xanax drug detection

Anonymous said...

generic xanax xanax side effects webmd - xanax drug interactions

Anonymous said...

xanax online what does a generic 2mg xanax look like - xanax withdrawal opiates

Anonymous said...

buy tramadol medication buy tramadol no prescription usa - tramadol order online tramadol 50g

Anonymous said...

buy tramadol online purchase tramadol online cod - tramadol hcl zoloft

Anonymous said...

buy tramadol online buy tramadol 100mg - generic name tramadol hydrochloride

Anonymous said...

cialis cost cialis uses - should buy cialis online

Anonymous said...

tramadol 100mg order cheap tramadol-overnight - tramadol overdose naloxone

Anonymous said...

order xanax online xanax withdrawal long does take - expired xanax pills

Anonymous said...

cialis online cialis online apotheke holland - cialis online+toronto

Anonymous said...

learn how to buy tramdadol buy tramadol 50mg - legal buy tramadol usa

Anonymous said...

learn how to buy tramdadol tramadol take get high - buy tramadol hcl online

Anonymous said...

http://buytramadolonlinecool.com/#63102 get tramadol online no prescription - tramadol for dogs expire

Anonymous said...

http://reidmoody.com/#51208 buy lorazepam online mastercard - ativan dosage in dogs

Anonymous said...

buy tramadol online order tramadol online with visa - can you buy tramadol in usa

Anonymous said...

http://ranchodelastortugas.com/#50238 boost your xanax high - what xanax pills look like

Anonymous said...

buy tramadol online long does tramadol overdose take - tramadol online cod payment

Anonymous said...

http://staam.org/#92453 tramadol addiction cure - tramadol 50 mg price street

Anonymous said...

buy tramadol online can you buy tramadol over the counter in usa - where to buy tramadol in usa

Anonymous said...

http://bayshorechryslerjeep.com/#2mg what is the generic name of xanax - 1mg lorazepam compared to 1 mg of xanax

Anonymous said...

This is a topic which is close to my heart... Thank
you! Where are your contact details though?

Look at my webpage; tao of badass