jsp to asp.net

  • Thread starter Thread starter james
  • Start date Start date
J

james

Hey Guys,

Would you all recommend some good reasons to switch from jsp to .net
(from a managers perspective). My company has a two year investment
in a successful jsp website, and I am trying to convince them to let
us write a new module in aspx. Also, is migrating painful (will jsp
and aspx play nice together)?

Thanks,
James
 
james said:
Hey Guys,

Would you all recommend some good reasons to switch from jsp to .net
(from a managers perspective). My company has a two year investment
in a successful jsp website, and I am trying to convince them to let
us write a new module in aspx. Also, is migrating painful (will jsp
and aspx play nice together)?

Why are you trying to convince them to write a new module in a different
language?


Chris.
 
Chris Shepherd said:
Why are you trying to convince them to write a new module in a different
language?


Chris.

I think the original poster doesn't know the answer to this question
himself. Why else would he ask for good reasons?
 
Chris,

I want to switch because I already know and like asp.net. I assumed
that a mixing modules in jsp and aspx wouldn't be too difficult, and
that there would be clear reasons for switching outside of my personal
preference. I probably should have just asked "Are there are clear
benefits of asp.net over jsp".

-James
 
Chris,

I want to switch because I already know and like asp.net. I assumed
that a mixing modules in jsp and aspx wouldn't be too difficult, and
that there would be clear reasons for switching outside of my personal
preference. I probably should have just asked "Are there are clear
benefits of asp.net over jsp".

-James

I'm not much of a Java person, but if everyone else is using JSP and
the whole site is done in JSP, then it seems to me to be a little bit
silly to want to start mixing different languages. You can probably
get ASP.NET and JSP to work together fairly well with web services
(though I've never done anything like that myself), but its just going
to make it a nightmare to maintain. Its one thing if someone had
written part of in in VB.NET and you wanted to write a new part in C#,
but sticking with JSP would probably be the thing to do, even if .NET
does make it easier to create your module or works better.
Consistency will make things easier/smoother in the long term.
 
asp.net and jsp will not work together because they'll require two different
web servers to run under. IIS and Apache (Tomcat) will have to run
side-by-side. They will not share any data (session, etc.) since they're two
completely different apps. IIS does not support JSP, and Apache does not
support .Net. If their management has any sanity, they'll never be convinced
to start supporting new stuff just because of one developer's preferences.
 
james said:
Chris,

I want to switch because I already know and like asp.net. I assumed
that a mixing modules in jsp and aspx wouldn't be too difficult, and
that there would be clear reasons for switching outside of my personal
preference. I probably should have just asked "Are there are clear
benefits of asp.net over jsp".

Not really. ASP.NET has what JSP has available, just bundled into one
nice little package, rather than spread across multiple
free/Open-sourced projects.

I can understand wanting to work with something you know well, but it
never hurts the resume to work in something new to you.

Chris.
 
Hey Chris,

Would you recommend some Java packages or a good forum to ask? As far
as I know my teams uses only jsp... to the point of System.Outing
every html tag. Is there a package to generate strongly typed classes
based on my sql queries?

Thanks,
James
 
james said:
Hey Chris,

Would you recommend some Java packages or a good forum to ask? As far
as I know my teams uses only jsp... to the point of System.Outing
every html tag. Is there a package to generate strongly typed classes
based on my sql queries?

I'd ask about in comp.lang.java about recommended packages. I've used
Struts before to do site development, and it was pretty simple and
robust (though that was 2+ years ago). There are a tonne of resources
though. If you hit up apache.org and check out Jakarta, it is the
project under which most of the ASF's Java stuff sits:
http://jakarta.apache.org/
The Ex-Jakarta section is also Java stuff which outgrew or became too
popular to just be another bundled package.

Chris.
 
james said:
I want to switch because I already know and like asp.net. I assumed
that a mixing modules in jsp and aspx wouldn't be too difficult,

Not so.

Problems with session sharing, problems with interface to backends,
more hardware needed, less code reuse, problems with consistent look
and feel.
and
that there would be clear reasons for switching outside of my personal
preference. I probably should have just asked "Are there are clear
benefits of asp.net over jsp".

J2EE (JEE nowadays) would not be as big as it is, if those reasons
existed.

Which to choose is a strategic decision based on platforms and vendors,
available expertise etc..

Arne
 
Ashot said:
asp.net and jsp will not work together because they'll require two different
web servers to run under. IIS and Apache (Tomcat) will have to run
side-by-side. They will not share any data (session, etc.) since they're two
completely different apps. IIS does not support JSP, and Apache does not
support .Net. If their management has any sanity, they'll never be convinced
to start supporting new stuff just because of one developer's preferences.

I completely agree with the conclusion.

I just want to add two notes to the tiny details:
- there are many other servers capable of running JSP than
Apache Tomcat
- it is possible to connect IIS to some servlet containers
(which runs JSP) including Apache Tomcat and Resin (*)

*) It is not nearly as popular to use IIS for that as Apache HTTPD,
but it has been seen.

Arne
 
james said:
Would you recommend some Java packages or a good forum to ask? As far
as I know my teams uses only jsp... to the point of System.Outing
every html tag. Is there a package to generate strongly typed classes
based on my sql queries?

The J2EE (JEE) world that JSP belongs to is HUGE !

You need to start by finding out exactly what they are using.

What web frameworks. What app server. What persistence
framework. Etc.etc..

If you are lucky then they use JSF. JSF is probably the
closest to ASP.NET in philosophy.

It does not make much sense to System.out.println a HTML
tag, because that will go to the servers log file not to
the browser. Using scriptlets with out.println would
be a very bad sign (it is the same as Response.Write
in ASP.NET pages). But start by finding what they are
really doing.

And then ask questions in a relevant place like:
- the newsgroup comp.lang.java.programmer
- the forums at www.theserverside.com
etc.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top