How to learn JSP/MVC, with previous experience in ASP.Net MVC?
Asked Answered
I

2

10

I just started to get into the door of the Java world. I have been programming in C# for the last 3 years, and been doing about 3 months of ASP.Net MVC. I absolutely love it, but the fact that I need Windows for it to run the latest and greatest libraries is a bit of a turn down... Plus I think learning another language helps with understanding concepts, since you get a comparison.

I want to learn JSP/MVC. I was wondering if it's similar to ASP.Net MVC, and if I can write JSP/MVC web apps without using another framework (like Spring) to get started.

Also, which is the better way to learn JSP/MVC from my C# background?

Any suggestions are welcome. Thanks in advance!

Instillation answered 22/1, 2010 at 15:18 Comment(0)
I
4

To supplement the answer above, I have dug up this fantastic article on getting started in JSP:

http://articles.sitepoint.com/article/java-6-steps-mvc-web-apps

It goes right into the basics of servlets, jsp and then mvc techniques, none of the mumbo jumbo in other MVC tutorials out there for JSP. Very down to earth. Wish the guy who wrote it would write a book on this topic...

Instillation answered 26/1, 2010 at 15:56 Comment(0)
G
7

JSP is a view technology, which is best to be compared with "classic ASP". The Sun Java counterpart of Microsoft ASP.NET MVC is actually JavaServer Faces (JSF).

For a short and quick introduction of JSP/Servlet/JSF, read this answer. To learn more about JSF, go through Sun Java EE 6 tutorial part II chapters 4-9.

For JSF there's by the way another view technology available: Facelets. This is way much better than JSP. If you can, I recommend to forget about JSP for this bit and go ahead with Facelets.

Garbo answered 22/1, 2010 at 15:49 Comment(1)
Thanks, I will look into Facelets first.Instillation
I
4

To supplement the answer above, I have dug up this fantastic article on getting started in JSP:

http://articles.sitepoint.com/article/java-6-steps-mvc-web-apps

It goes right into the basics of servlets, jsp and then mvc techniques, none of the mumbo jumbo in other MVC tutorials out there for JSP. Very down to earth. Wish the guy who wrote it would write a book on this topic...

Instillation answered 26/1, 2010 at 15:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.