General discussion

Locked

JSP vs ASP.net

By dfirefire ·
As a self employed web application developer, I've written a few JSP (-Struts) applications. Because Java was a hype when I was studying, JSP was a natural route to follow. I've come to love Java and related techniques. But fearing the risk of being blinded by love, I ask for your opinion wether I should spend my time learning ASP(.net) as well. Until now, I've managed to steer my projects down the Java road, but how fierce should I defend this approach? Are there major benefits of ASP that JSP doesn't have? I've considered the two as equal (although I've always been a Java advocate). Are they? Is it just a matter of taste? Or are there practical issues that can't be remedied by one of them?

This conversation is currently closed to new comments.

15 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Open Your Wallet

by JohnnySacks In reply to JSP vs ASP.net

What's important is to try to go where the money is so I went through this myself a couple years ago. As an ASP programmer I was always impressed with the way JSP's were pre-compiled and maintained along with servlets in a container's application context so when ASP.NET came out I figured it would take off.

For the server, ASP.NET is 100% platform independent as long as you're using Windows 2000, XP Pro, or a Server flavor, none of which are free. The 2000 versions are easy to get ahold of and install to learn with but it's hard to load XP or 2003 on a learning box because of the activation process.

Unless you're a glutton for punishment, you need Visual Studio to develop ASP.NET applications - ~$800, again, not as easy to get ahold of for learning as Visual Studio 6 was.

Visual Studio is great! This is where Microsoft shines. Anyone with a pulse can be writing simple ASP.NET applications almost immediately from a drag and drop interface with very little comprehension of what's happening under the covers.

Of course once I got past the 'ASP.NET For Dummies' stage and into the real world, I found VERY little to differentiate ASP.NET and Java Struts in terms of functionality or coding efficiency. The ASP.NET 'event' model is much more complicated than Struts. Not to be outdone in terms of complicated frameworks, Sun has created JSF which is every bit as complicated as ASP.NET.

Collapse -

Won't hurt

by todd.barr In reply to Open Your Wallet

If you are independent, you should be well versed in most all languages. C# is similar to Jave in syntax, so the mental hurdle won't be to high. You can also download a free version of VS for web applications from MS.

I do both, it doesn't hurt me at all.

Collapse -

platform independent...

by jeubeda In reply to Open Your Wallet

I agree with you generally speaking. Only disagree on platform independence: with ASP.Net you are married with Windows. For a self employee, it should be good to know ASP, but only as part of his toolkit. JSP should be more opened for market opportunities.

Collapse -

What about Mono

by andyandrews35 In reply to platform independent...

It's still early, but Mono has an ECMA standard. I have tried it on Linux but not on Windows yet. But it should work no problem on windows.

Collapse -

ISV shouldn't use ASP.NET

by MattiasW In reply to JSP vs ASP.net

If you intend to develop an web application that you want to sell, you shouldn't use ASP.NET, unless you charge more than $5000-$10000.

If you develop a web-based software that your customers install on their computers, your customers will have to buy a Windows Server license ($400-$1000) + an External connector license ($2000-$3000). You will need a external connector license as soon as you do ANY kind of login (form-based or windows authentification).

My only hope now is that I can use Mono on Linux.

Collapse -

Not a bad idea

by DavidR23 In reply to JSP vs ASP.net

I think it could not hurt for you to become versed in asp.net. I do not think you will find it big stretch given a background in Java struts programming. I have training in both worlds and it is not too difficult to switch hit. If you use C# you will find the syntax very similar (eg: StringBuilder vs StringBuffer). The bigger differences will come in data retrieval and persistence patterns employed in ADO.NET but this is by no means an insurmountable challenge.

Collapse -

Beside the money issue...

by dfirefire In reply to JSP vs ASP.net

Thanks for the replies so far. I've understood that the major disadvantage of ASP is the cost.
But what about the other differences? What are the advantages/drawbacks on the coding side? Should I learn ASP to do something that JSP can't offer me (other than programming on the IIS)? I guess when it's up to me to decide on the hosting environment, I can always pull the JSP card, not? There are no advantages in ASP then? After all, why should I waste my time learning it, while I could use that time to get even more specialized in JSP?

Collapse -

Red or blue?

by martin.trejo In reply to Beside the money issue...

Hi,

A few years ago, I had to choose between Java technologies and .NET technologies.
At that point, I made my decision by building an application with both sets of technologies. By then, .NET won.

However, I've following Java developing very close, in fact, my main work is managing J2EE application servers besides a serious free-lancing.

Choose one, but don't leave the other. You may become master of one and apprentice of the other or many others (ruby, perl, php, etc)

There will be a point when what you've learned come to value.

Saludos

Collapse -

Fan of technology

by jfrey In reply to Beside the money issue...

Hey d,
I've been down this road for years now and still haven't gotten to the point where I'm using only JSP or ASP. If you're going solo, you should be up on both and more. But for preference sake, if you use java you can normally expect several approaches to solution. For example using struts vs. JSF, two very good web solutions, but choosing between them is a matter of preference, like driving a Ford, or a Chevy. If you do decide continue with JSP, you should seriously consider learning JEE and application servers. I've seen a good deal of demand for enterprise programmers. I used to be a huge advocate for MS technologies until .NET came out and I was like "You're telling me I've gotta learn all of this stuff over again?" That was when I started looking into other technologies. Open source is a good choice and has huge support by many large companies that really see to it that it succeeds and has a great community.

Collapse -

Apples or Oranges?

by john.range In reply to Beside the money issue...

Both languages/environments/toolsets can be used by a professional programmer to produce brilliant web applications for the customer. The important thing we should all remember is that the client's business needs are paramount. The choices an individual developer or a team make will be based on several factors including such things as the required functionality, project and customer timelines, programmer skills and knowledge, existing infrastructure, cost of software, programming time, etc etc. The circumstances at hand will make either JSP or ASP.NET the best choice for any given project.
My team delivers a Diploma in Web Development in Hornsby NSW Australia. Over the year, students learn ASP.NET and Java, and strong SQL Server and MySQL skills, and lots more. We think there are benefits (and otherwise) to using particular tools. Students also learn the value of ethical behaviour in working as an professional developer. They have to learn to base the decision about which toolset to use for a project on the circumstances at hand and the customer's needs. This recipe seems to be working. One of our graduates won a Gold Medal at the WorldSkills International competition in Helsinki in 2005 in the Web Design category.

Back to Web Development Forum
15 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums