By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

Can I use servlets WITH ASP.Net 2.0 ?

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a


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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.