473,788 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.net calling java, for the 100th time

c
So far it looks like we have these options for calling our java based API
from a .NET application:

1) http://www.jnbridge.com, about $500 per machine/developer
2) re-write java app in Visual J++ (Microsoft java) - then it will
integrate nicely with .NET.
3) use web services
4) use JNI

Option 2 isn't possible, because our java based app is a huge server side
beast. Not sure how the JNI option would work. Our product doesn't support
web services yet, so option 3 is out.

Did I miss anything?

thanks.

chris
Jul 21 '05 #1
5 1724
"c" <me@somewhere.c om> wrote in
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
So far it looks like we have these options for calling our java based API
from a .NET application:

1) http://www.jnbridge.com, about $500 per machine/developer
2) re-write java app in Visual J++ (Microsoft java) - then it will
integrate nicely with .NET.
3) use web services
4) use JNI
...
Did I miss anything?


I think there are many Java-COM bridges out there; .NET can play with COM
components nicely, so that could be a good way to go.
But the answer really depends on what you want to do: Any kind of
IPC/component technology could solve your problem: sockets, CORBA, memory
mapped files (not sure if java has native support for those)

Niki
Jul 21 '05 #2
perhaps this article will help.

http://www.devx.com/interop/Article/19928/1954?pf=true

Just because your application doesn't support web services (yet), how is #3
out?
You can add web services to the Java side, and call them from the .NET side.
What's so bad about that?

Or, you could create a set of facade classes that call your Java app, and
compile those classes in Visual J# (Java syntax), and make them available as
web services or COM components. That is probably the easiest way.

--- Nick

"c" <me@somewhere.c om> wrote in message
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
So far it looks like we have these options for calling our java based API
from a .NET application:

1) http://www.jnbridge.com, about $500 per machine/developer
2) re-write java app in Visual J++ (Microsoft java) - then it will
integrate nicely with .NET.
3) use web services
4) use JNI

Option 2 isn't possible, because our java based app is a huge server side
beast. Not sure how the JNI option would work. Our product doesn't support web services yet, so option 3 is out.

Did I miss anything?

thanks.

chris

Jul 21 '05 #3
Concur with Nick's Option 1 because it is the most decoupled.
Option 2 ties the solution to J++ and COM, both Windows only technologies.

"Nick Malik" <ni*******@hotm ail.nospam.com> wrote in message
news:8Mszc.3640 3$eu.1237@attbi _s02...
perhaps this article will help.

http://www.devx.com/interop/Article/19928/1954?pf=true

Just because your application doesn't support web services (yet), how is #3 out?
You can add web services to the Java side, and call them from the .NET side. What's so bad about that?

Or, you could create a set of facade classes that call your Java app, and
compile those classes in Visual J# (Java syntax), and make them available as web services or COM components. That is probably the easiest way.

--- Nick

"c" <me@somewhere.c om> wrote in message
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
So far it looks like we have these options for calling our java based API from a .NET application:

1) http://www.jnbridge.com, about $500 per machine/developer
2) re-write java app in Visual J++ (Microsoft java) - then it will
integrate nicely with .NET.
3) use web services
4) use JNI

Option 2 isn't possible, because our java based app is a huge server side beast. Not sure how the JNI option would work. Our product doesn't

support
web services yet, so option 3 is out.

Did I miss anything?

thanks.

chris



Jul 21 '05 #4
"c" <me@somewhere.c om> wrote in
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
So far it looks like we have these options for calling our java based API
from a .NET application:

1) http://www.jnbridge.com, about $500 per machine/developer


Hey folks --

JNBridgePro isn't that expensive. You can deploy it for $95/machine for the
SE version. That's for each .NET machine on which our components reside;
you can deploy the Java components on as you want. There are also volume
discounts. See http://www.jnbridge.com/pricing.htm for more information.

The development license is indeed $495 for one developer seat, but you
likely only need one developer license.

Compared to the developer time needed to roll your own .NET/Java interop
solution, JNBridgePro is a good deal.

Wayne
_______________ _______________ ______
Wayne Citrin
JNBridge, LLC
ci****@jnbridge .com
www.jnbridge.com
Spanning the Worlds of Java and .NET
_______________ _______________ ______
Jul 21 '05 #5
Another option is this :
http://www.codeproject.com/threads/bridgewinjava.asp

Kapil Maheshwari
"c" <me@somewhere.c om> wrote in message
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
So far it looks like we have these options for calling our java based API
from a .NET application:

1) http://www.jnbridge.com, about $500 per machine/developer
2) re-write java app in Visual J++ (Microsoft java) - then it will
integrate nicely with .NET.
3) use web services
4) use JNI

Option 2 isn't possible, because our java based app is a huge server side
beast. Not sure how the JNI option would work. Our product doesn't support web services yet, so option 3 is out.

Did I miss anything?

thanks.

chris

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1721
by: Jonas Kölker | last post by:
Hello. I'm doing a Rubik's Cube timer, so I need a function to measure 100ths of a second. I've browsed through the library reference of python.org, but I didn't find anything that struck me as 'the perfect fit'. Either it was system dependent, or it was too grainy (lo-res), or... something else. so, I need a function which satisfies (in order of importance): 1. It can be used to measure time in the range of up to approximately 1
9
3769
by: F. GEIGER | last post by:
I've dev'ed a Python prototype of an app, that besides the internals making it up has a gui. While test-driven dev'ing the app's internals in Python is fun as usual, dev'ing the GUI is not so funny, at least for me. I guess dev'ing a GUI in a test-driven way is not possible, or is it? I'm using wxPython, so if anyone has an idea... For now most of the time I extend and change the gui things, then run it, do the clicks to go thru the...
7
6608
by: Klaus Friese | last post by:
Hi, i'm currently working on a plugin for Adobe InDesign and i have some problems with that. I'm not really a c++ guru, maybe somebody here has an idea how to solve this. The plugin is written in C++ and it's calling a java application. This application displays a window and pushing a button is calling back the c++-plugin again.
1
6741
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name this WebService1. (using Apache Axis 1.1) Scenario 1: -----------
7
4987
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type Parameter. I can call the first Method without Problems, the Parameter can be deserialized by the WebService. But if I want to call the second Method and give it an Array of Parameters, then the following exception is thrown by the WebService:...
5
339
by: c | last post by:
So far it looks like we have these options for calling our java based API from a .NET application: 1) http://www.jnbridge.com, about $500 per machine/developer 2) re-write java app in Visual J++ (Microsoft java) - then it will integrate nicely with .NET. 3) use web services 4) use JNI Option 2 isn't possible, because our java based app is a huge server side
0
1405
by: TattedProgrammer | last post by:
Hello All, I am completely stuck, I have tried for an entire day to get a simple procedure call to my Oracle Db via the enterprise Library 06. I am not an oracle fan to start, but have to deal with it for now. I am only trying to retrieve data into a dataset from the oracle procedure, nothing fancy! Here is my 100th version of code I have.
2
3261
by: Janna | last post by:
I have the Java JVM installes on my server. I uncommented extension=php_java.dll in php.ini I uncommented and proerpyl filled out the section in php.ini: java.class.path ="C:\InstantRails\php\extensions\php_java.jar;C:\JavaSources\MyStuff" java.home = "C:\Program Files\Java\jdk1.5.0_10;C:\Program Files\Java\jre1.5.0_10\lib"
4
2790
by: Dan | last post by:
Hi All, I've got a problem with my C++ application that calls a Java class that I've built with GCJ, I can't run it because I get errors: multiple definition of `atexit' first defined here multiple definition of `_onexit' first defined here multiple definition of `__do_sjlj_init'
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.