.NET vs. J2EE – Butter or Guns?

5 03 2008

This post is now available on my new blog The IT Report:




12 responses

5 03 2008
Mohammad Elkersh

I will choose PHP 🙂
1. Build Your applications fast (May be 4 or 5 times faster that J2EE and 3 Times faster than .Net)
3. Zillion of books and articles
4. Zillion of Framework and tools
5. Zillion of open source project cover every thing
6. It run every where and with every DBMS (Unix, Linux, Mac, Windows, MySQL, SQLServer, Oracle, DB2,……)
7. It is always Easy to hire PHP Developer than Java (i donot know about .Net)

The Only thing i miss in PHP is Some thing to Build work flows (Like JBoss JPBM) it is fun any way to build from scratch 🙂

6 03 2008

You’re right about everything you said with PHP. There is only 1 thing that I’ve seen – PHP has not been adopted by the enterprise because it doesn’t have industry backing, therefore is not supported or included in most enterprise strategies.

For all other things not-enterprise – go php!

14 04 2008

I’m not sure how good PHP is for an enterprise application. That being said, I’m going to JavaOne in May and there is a course there on mixing PHP and Java. I might check it out.

There are a bunch of build-management and deploying tools for Java now. Have you checked out Maven and Archiva? Very nice. It’s what we use at work for the app we work on. Sure, you have to configure it. But I think that’s an acceptable price to pay for diversity and options. You only have to do the hard work once. Especially with the newer tools like Maven, once you have your stuff in place, you don’t have to all that much to modify it later.

I haven’t worked with .NET, so I can’t make any comments. But the reason Microsoft .NET would work so well is that they can make a LOT of assumptions about the build environment. It’s simple – it’s always windows. The convenience of a monoculture and a monopoly :).

27 05 2008

Internet runs on LAMP stack but high available enterprise application are ready to accept a technology which is not standardized, supported and proven. Even if architects suggest PHP as development language you hardly find such professionals in service companies. Any thing which comes for free has always been considered secondary than licensed software when comes with support though has less features.

JEE vs .NET I was associated with .NET development for quite a long time and I’m working on JEE. The paradigm has shifted from one vendor platform to mixed platforms with SOA in place. Java always going to win the game because of its open strategy. .NET has really amazing development platform its developers paradise. Visual Studio is the one stop workshop for .NET developer. But JEE suffers and give choice with many vendors platforms and standards.

3 08 2008

This is what I don’t like about J2EE. The market is fragmented. You have Java standard and Java Enterprise. Then you have so many frameworks and most of them are hard to get working smoothly. Then the IDE whether it is Netbeans or Eclipse is slow. Then the programmers want to use Weblogic or Webmethods or Websphere. Then they want to use Oracle and pretty soon the cost is 100 times more expensive then just buying Visual Studio which has a really good IDE, debugger and a 4GB version of SQL server which is an excellent database. We always have configuration issues because we are using so many different products. In the end I can produce pages faster and with little cost compared to J2EE. In reality I don’t understand why anyone would do the J2EE except where they get 10’s of millions transactions per day.

24 10 2008

I choose JEE cause for building enterprise application, especially with different business logic’s frameworks according to the scenario multi platform support all are available under the single shelter, if i choose sql & .net then i have to follow the microsoft way of programming, cost concerns all mysql postgre and lots of bsd and low price database is also available, glassfish is one of the best j2ee server like bea systems products so we make our choice unless focusing on the same ting again and again, most probably the security concern ms products is a weak entity

23 11 2008

.net sucks. If you look at c# in terms of OOP, is sucks, if you look at asp.net, in terms of computer science, it sucks.

I dont understand why and how people use it. it s really terrible. Look at J2EE, Spring, Struts, Hibernate etc. Ruby On rails even Php frameworks makes more sense than the way c# and asp.net works.

.net is really terrible.

24 02 2009

I have used both.
In the end the only thing that matters is what makes you feel more comfortable. J2EE (i assume JSP is part of J2EE even though many will disagree) provides a bigger variety of tools, application servers etc which increases the overhead for selecting the most appropriate and learning it well.
.Net makes you only deal with the business logic (the tool-server-db) is one choice and it is not yours (the platforms makes yoy use it).

Whenever i had to fight with the exception of Jboss and figure out what the f… was going wrong i was furious… Yet when i did find the solution and reported the bug (or just went around it) i always felt i was becoming a better software engineer.

For me this is the difference: If you see yourself as a pure programmer go with the fast development and don’t deal with the details (go with .net).
I f you regard yourself as a software engineer go the hard way, but learn more!

22 03 2009

Mr Coder I develop both .NET and JEE applications myself and I don’t get you when you say say :NET sucks. In the Enterprise point of view one can only compare JEE to .NET Ruby on Rails on PHP are not match against .NET.

People use .NET because of the the comfort it provides for developers. just start working with web services and you’ll then understand what I’m talking about.

13 07 2009

Mohammad Elkersh:
1. Build Your applications fast (May be 4 or 5 times faster that J2EE and 3 Times faster than .Net)
Blissfully ignoring maintenance, extending, scaling etc. P.S. I used to be a PHP developer and I can write .NET applications as fast as I used to be able to write PHP apps with fewer years experience in .NET. I can go faster if I want to adopt the simplistic approach most PHP developers and particularly small teams in organisations take when writing their apps
3. Zillion of books and articles
Mostly written by hacks
4. Zillion of Framework and tools
Inferior and immature, Zend and Symfony are coming along nicely, and Aptana Studio and Netbeans are okay but are still considerably inferior, and debugging, continuous integration, monitoring are further below par
5. Zillion of open source project cover every thing
Again, mostly written by hacks, even most commercial PHP applications are poorly written
6. It run every where and with every DBMS (Unix, Linux, Mac, Windows, MySQL, SQLServer, Oracle, DB2,……)
One good point however it is barely taken advantage of: the vast majority of PHP deployments are on *nix using MySQL/PostgreSQL though.
7. It is always Easy to hire PHP Developer than Java (i donot know about .Net)
It’s harder to find decent PHP developers as decent ones usually learn .NET and Java to avoid working with hacks. It’s easy to find PHP developers though as it’s easy to learn and management in projects where PHP is chosen is poor enough to hire these hacks.

Patrick: yes, far too much segregation, even amongst J2EE alone

coder: please elaborate

25 07 2009

Well, I spent 30 days to look for a PHP framework that has ORM-DBAL and MVC functionality and works with oracle 1xg and I found none! Last 15 days I was troubleshooting symfony and finally found PHP’s official best PDO DBAL that many PHP frameworks utilize, is experimental for most databases except mysql!! I think if you want to sell your software then look for JEE so not forcing clients to buy MS, but if the software is very UI driven or your company doesn’t have any issues against MS, then use .NET

18 01 2010

J2ee is open source and that is precisely why the compile, build, deploy scenario is a nightmare. The technology is not nearly as portable as advertised.

For enterprise applications the .Net framwework will eventually be the platform of choice because Microsoft can control, refine, modify and enhance their own platform product. Once MS integrates languages like Ruby, PHP and others into the .Net platform J2ee is done.

There is no central driving force to extend J2ee, but there is for .Net; Microsoft.

MIT chose the the .Net platform; why? to keep costs down. It isn’t always about the technology but it is always about the money.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: