473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1947


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********@joergjooss.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
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...
3
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,...
0
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...

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.