473,813 Members | 3,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can .NET mix with Java ?

My client wants to develop a web application using Java. I have several
questions and seeking for MVP advise.
1. Does IIS support Sun Micro Java?
2. Is it possible for .NET to mix with Java, servlet, JSP etc?
3. Can I a ASP.NET call Java servlet?
4. Can I mix MS Web Service with Java?

Many Thanks

Jul 21 '05 #1
5 2391
Peter <Pe***@discussi ons.microsoft.c om> wrote:
My client wants to develop a web application using Java. I have several
questions and seeking for MVP advise.
1. Does IIS support Sun Micro Java?
Not directly, but there are plugins for most of the major servlet
containers to allow them to work under IIS.
2. Is it possible for .NET to mix with Java, servlet, JSP etc?
That depends on exactly what you mean. There are Java <-> .NET bridges,
but I don't know exactly how they would operate in a web application
environment.
3. Can I a ASP.NET call Java servlet?
You can make a web request to a Java servlet, certainly.
4. Can I mix MS Web Service with Java?


Yes, although I believe you're slightly more restricted than you would
be .NET -> .NET - I'm not sure of the details.
If your client wants to develop a web application using Java, where
does .NET come into it? Is there existing code you want to leverage?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2
Thanks. It seems it is quite a burden to run Java on IIS. The reason to use
IIS with Java is that Dell offers web server cheaper than Tomcat or Apache or
Sun Java servers.
"Jon Skeet [C# MVP]" wrote:
Peter <Pe***@discussi ons.microsoft.c om> wrote:
My client wants to develop a web application using Java. I have several
questions and seeking for MVP advise.
1. Does IIS support Sun Micro Java?


Not directly, but there are plugins for most of the major servlet
containers to allow them to work under IIS.
2. Is it possible for .NET to mix with Java, servlet, JSP etc?


That depends on exactly what you mean. There are Java <-> .NET bridges,
but I don't know exactly how they would operate in a web application
environment.
3. Can I a ASP.NET call Java servlet?


You can make a web request to a Java servlet, certainly.
4. Can I mix MS Web Service with Java?


Yes, although I believe you're slightly more restricted than you would
be .NET -> .NET - I'm not sure of the details.
If your client wants to develop a web application using Java, where
does .NET come into it? Is there existing code you want to leverage?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 21 '05 #3
Peter <Pe***@discussi ons.microsoft.c om> wrote:
Thanks. It seems it is quite a burden to run Java on IIS. The reason to use
IIS with Java is that Dell offers web server cheaper than Tomcat or Apache or
Sun Java servers.


Why not run Apache or Tomcat on the Dell server?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #4
Peter,

You can run Tomcat on top of IIS. The other option is to do an install of
Apache / Tomcat and have them run side-by-side w/ IIS. You can have both
running, since IIS defaults to port :80 and Apache / Tomcat default to port
:8080. I've had several machines where I had both web servers installed.

Sean McCormack
Open Source for .NET
http://www.adapdev.org

"Peter" wrote:
Thanks. It seems it is quite a burden to run Java on IIS. The reason to use
IIS with Java is that Dell offers web server cheaper than Tomcat or Apache or
Sun Java servers.
"Jon Skeet [C# MVP]" wrote:
Peter <Pe***@discussi ons.microsoft.c om> wrote:
My client wants to develop a web application using Java. I have several
questions and seeking for MVP advise.
1. Does IIS support Sun Micro Java?


Not directly, but there are plugins for most of the major servlet
containers to allow them to work under IIS.
2. Is it possible for .NET to mix with Java, servlet, JSP etc?


That depends on exactly what you mean. There are Java <-> .NET bridges,
but I don't know exactly how they would operate in a web application
environment.
3. Can I a ASP.NET call Java servlet?


You can make a web request to a Java servlet, certainly.
4. Can I mix MS Web Service with Java?


Yes, although I believe you're slightly more restricted than you would
be .NET -> .NET - I'm not sure of the details.
If your client wants to develop a web application using Java, where
does .NET come into it? Is there existing code you want to leverage?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 21 '05 #5
"Peter" <Pe***@discussi ons.microsoft.c om> wrote in message news:<9E******* *************** ************@mi crosoft.com>...
My client wants to develop a web application using Java. I have several
questions and seeking for MVP advise.
1. Does IIS support Sun Micro Java?
2. Is it possible for .NET to mix with Java, servlet, JSP etc?
3. Can I a ASP.NET call Java servlet?
4. Can I mix MS Web Service with Java?


Hi Peter --

Jon mentioned Java/.NET bridges, and they will indeed work in the
context of a Web application. For more information, please see our
Web site at www.jnbridge.com, or contact me if you have any questions.

Wayne Citrin
JNBridge, LLC
www.jnbridge.com
wc*****@jnbridg e.com
Spanning the Worlds of Java and .NET
Jul 21 '05 #6

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

Similar topics

0
6819
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what the issue is. Thanks Ravi
1
6923
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
11
9284
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
0
5659
by: mailkhurana | last post by:
Hii , I am trying to use a type 2 driver to connect to DB2 0n AIX 5 I have a small java test to class to establish a conneciton with the db .. I am NOT using WAS or any appserver When I try to connect to the DB I get the following exception at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2120)
1
9667
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
12
5934
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it says: usage: java fit.FitServer host port socketTicket -v verbose I think this is because I do not understand the jython mechanism for inheritance (yet).
0
3292
by: jaywak | last post by:
Just tried running some code on Linux (2.4.21-32.0.1.EL and Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)) and Windows XPSP2 (with Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)) and in both cases, get the following list returned from calling getDeclaredFields() on java.lang.ClassLoader via this code snippet: Field fields = loaderClass.getDeclaredFields(); for (int i = 0; i <...
1
4310
by: jaimemartin | last post by:
hello, I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in Linux there is an error. The code that fails is the following: SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); I´m sure that code is ok. In fact, I´ve found that in several...
0
3295
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
9609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10669
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...
1
10426
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10141
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
9225
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...
0
5570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5707
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3886
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3030
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.