473,587 Members | 2,568 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I use servlets WITH ASP.Net 2.0 ?

I have written a custom servlet engine (and "wrapper" servlets) for some
legacy code (C/C++) that I have.

The servlets contain the bulk of my 1st 2 layers in a 3 tier
architecture - i.e. data layer and business logic layer respectively. Is
it technically possible to use my servlets for the first two layers and
then use ASP.Net for the presentation layer (i.e. using webforms etc)?

The obvious "bridge" would be SOAP, but I want a more tightly couple
system than that - i.e. I do not want to wrap up the servlets in yet
another layer of abstraction - since they already wrap around my C++
code... so any suggestions other than SOAP will be greatly appreciated.
Feb 13 '07 #1
3 1955


Bit Byte wrote:
I have written a custom servlet engine (and "wrapper" servlets) for some
legacy code (C/C++) that I have.

The servlets contain the bulk of my 1st 2 layers in a 3 tier
architecture - i.e. data layer and business logic layer respectively. Is
it technically possible to use my servlets for the first two layers and
then use ASP.Net for the presentation layer (i.e. using webforms etc)?

The obvious "bridge" would be SOAP, but I want a more tightly couple
system than that - i.e. I do not want to wrap up the servlets in yet
another layer of abstraction - since they already wrap around my C++
code... so any suggestions other than SOAP will be greatly appreciated.
Ok, the bit about "custom" servlets may have been "too scary", "too much
information" (or even both). Is it technically possible to use Java
servlets with ASP.Net ?

If the answer is yes, then I can hopefully, use a similar (or even same)
approach - any pointers will be much appreciated. BTW, a google search
is not bringing up anything useful - thats why I'm asking in here ...
Feb 13 '07 #2
Thus wrote Bit,
Bit Byte wrote:
>I have written a custom servlet engine (and "wrapper" servlets) for
some legacy code (C/C++) that I have.

The servlets contain the bulk of my 1st 2 layers in a 3 tier
architecture - i.e. data layer and business logic layer respectively.
Is it technically possible to use my servlets for the first two
layers and then use ASP.Net for the presentation layer (i.e. using
webforms etc)?

The obvious "bridge" would be SOAP, but I want a more tightly couple
system than that - i.e. I do not want to wrap up the servlets in yet
another layer of abstraction - since they already wrap around my C++
code... so any suggestions other than SOAP will be greatly
appreciated.
Ok, the bit about "custom" servlets may have been "too scary", "too
much information" (or even both). Is it technically possible to use
Java servlets with ASP.Net ?

If the answer is yes, then I can hopefully, use a similar (or even
same) approach - any pointers will be much appreciated. BTW, a google
search is not bringing up anything useful - thats why I'm asking in
here ...
You can make a ASP.NET page hit a servlet and vice versa -- at HTTP level.
That's only useful if you want to reuse some exisiting servlet-based functionality
and can afford to make that extra HTTP call from an ASP.NET page.

Cheers,
--
Joerg Jooss
ne********@joer gjooss.de
Feb 13 '07 #3
asp.net builtin support for servlets is limited to soap based messages.
you would have to write your own asp.net servlet calling component.

-- bruce (sqlwork.com)

Bit Byte wrote:
I have written a custom servlet engine (and "wrapper" servlets) for some
legacy code (C/C++) that I have.

The servlets contain the bulk of my 1st 2 layers in a 3 tier
architecture - i.e. data layer and business logic layer respectively. Is
it technically possible to use my servlets for the first two layers and
then use ASP.Net for the presentation layer (i.e. using webforms etc)?

The obvious "bridge" would be SOAP, but I want a more tightly couple
system than that - i.e. I do not want to wrap up the servlets in yet
another layer of abstraction - since they already wrap around my C++
code... so any suggestions other than SOAP will be greatly appreciated.
Feb 13 '07 #4

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

Similar topics

2
5453
by: N.K. | last post by:
Hi, I'm using Tomcat 7.2 and I'm trying to deploy an aplication that uses JSP and servlets. I'm actually trying to duplicate a production server but can't get it right. In the directory /whatever/java/tomcat4/webapps I have two other directories called ROOT and test. Under both ROOT and test there is a WEB-INF directory where web.xml file...
3
6526
by: Jose Munoz | last post by:
Hi all, I want to share some data for all my applications (servlets and jsps). For this i am using a JSP to set the variables with scope=application. When i get this data from some JSP all is o.k, i can see the data that i saved, but when i get access with my servlets, i can't see data saved prev. My request is simple: save data with a JSP...
0
1985
by: ank99 | last post by:
hello...i m trying to run servlets(using GET) from wml page..... using apache tomcat 5.5 server and WinWap for Windows(version 3.2.1.28.)....its working fine as far as just to display wml form page... but when i enter the data within wml page(i.e. compname) then address within browser gets to ...
1
2776
by: ank99 | last post by:
hello...i m trying to run servlets(using GET) from wml page..... web server : apache tomcat 5.5 server WAP Browser: WinWap for Windows(version 3.2.1.28.).... its working fine as far as just to display wml form page... but when i enter the data within wml page(i.e. compname) then address within browser gets to...
0
7918
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...
0
7843
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...
1
7967
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...
0
8220
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...
0
6621
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...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
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
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
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...

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.