66020 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

News News News Messages: 17 Messages: 17 Messages: 17 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Java platforms moving to .NET?

Posted by: Yuval Shavit on December 03, 2008 DIGG
Java and .NET are usually portrayed almost as opposites: the Java world vs. the .NET world. But there’s actually a lot of cross-pollination, especially in terms of Java application frameworks being ported to .NET. Already, two of the major Java frameworks, Spring and Hibernate, have .NET ports that work with managed code.

Of course, whether or not they catch on is a different question. A lot of those frameworks use methodologies that .NET developers aren’t necessarily comfortable with, like aspect-oriented programming and domain driven design. And Microsoft has its own frameworks, too, like ADO.NET.

Has your development team started using any Java-born frameworks? Or if not, have you looked into them? Heard of them?

Threaded replies

·  Java platforms moving to .NET? by Yuval Shavit on Wed Dec 03 15:25:30 EST 2008
  ·  Re: Java platforms moving to .NET? by John Mao on Fri Dec 12 10:34:07 EST 2008
    ·  Re: Java platforms moving to .NET? by Howard Hoffman on Fri Dec 12 11:04:31 EST 2008
      ·  Re: Java platforms moving to .NET? by Gaja Kannan on Mon Dec 15 00:13:26 EST 2008
  ·  Been going on for years.... by Jim Comparin on Mon Dec 15 11:41:03 EST 2008
    ·  Re: Been going on for years.... by Mileta Cekovic on Tue Dec 16 16:20:03 EST 2008
      ·  Re: Been going on for years.... by Tony John on Wed Dec 17 00:29:18 EST 2008
        ·  Re: Been going on for years.... by Mileta Cekovic on Wed Dec 17 17:59:11 EST 2008
        ·  Re: Been going on for years.... by Mark Nuttall on Fri Dec 19 21:49:02 EST 2008
          ·  Experience matters... by Tony John on Fri Jan 09 12:25:10 EST 2009
      ·  Java Generics/Templates by Srikanth Remani on Mon Dec 22 14:14:42 EST 2008
        ·  Re: Java Generics/Templates by Mark Nuttall on Tue Dec 23 10:12:10 EST 2008
          ·  Re: Java Generics/Templates by Srikanth Remani on Wed Dec 31 11:03:39 EST 2008
            ·  Re: Java Generics/Templates by Mark Nuttall on Sat Jan 03 21:29:52 EST 2009
          ·  Re: Java Generics/Templates by Srikanth Remani on Mon Jan 12 17:37:44 EST 2009
  ·  Re: Java platforms moving to .NET? by Mark Nuttall on Fri Dec 19 21:55:08 EST 2008
  ·  Java vs .NET community maturity by Gerke Geurts on Mon Dec 22 23:45:42 EST 2008
  ·  Re: Java platforms moving to .NET? by K H on Wed Dec 31 14:48:35 EST 2008
  Message #283350 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java platforms moving to .NET?

Posted by: John Mao on December 12, 2008 in response to Message #280662
We do see this trend but personally I don't bellieve this trend will really become to mainstream. Give you an example which is ASP.NET MVC Framework. This initiative inherited a lot of Java Spring elements inside but I do see many developers will give up WebForm concept and switch to this.

Just use ASP.NET vesus JSP as sample, both side have unqiueness. One thing I do see is .NET community is trying to learn many good things from Java counterparty but nor does Java community.

  Message #283352 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java platforms moving to .NET?

Posted by: Howard Hoffman on December 12, 2008 in response to Message #283350
Let's not forget good 'ole Log4Net. It was originally Log4J, and even though it's not gotten a lot of updates for a few years, its still very good. Just enough flexibility and simplicity to be really useful.

  Message #284079 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java platforms moving to .NET?

Posted by: Gaja Kannan on December 15, 2008 in response to Message #283352
The other way is also happening... JSF is built on the similar concepts of ASP.NET webforms.

  Message #284336 Post reply Post reply Post reply Go to top Go to top Go to top

Been going on for years....

Posted by: Jim Comparin on December 15, 2008 in response to Message #280662
JUnit was ported to NUnit many years ago and has been widely adopted.

.NET would leave Java in the dust if more people would try it. Anyone who has done serious development in both will tell you the tools, support and speed of development in .NET is WAY faster than in Java.

  Message #284703 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Been going on for years....

Posted by: Mileta Cekovic on December 16, 2008 in response to Message #284336
Anyone who has done serious development in both will tell you the tools, support and speed of development in .NET is WAY faster than in Java.


Well, I found exactly the opposite: more senior and good developers prefer Java to .NET.
From my personal experience (14 years IT, 9 years Java, 4 years .NET):
- C# is slightly better language then Java (has LINQ, properties/events, but introduces struts which just complicate things and lacks real inner classes)
- JVM is better then CLR (scalability, performance, garbage collection)
- core libraries are significantly better in Java then in .NET (just look at the collections or concurrency APIs)
- tools are significantly better in Java then .NET (in particular IDEs, testing, build and CI tools)
- Java community is light years in front of .NET community (number and quality of frameworks and third party libraries)

  Message #284800 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Been going on for years....

Posted by: Tony John on December 17, 2008 in response to Message #284703

- JVM is better then CLR (scalability, performance, garbage collection)
- core libraries are significantly better in Java then in .NET (just look at the collections or concurrency APIs)
- tools are significantly better in Java then .NET (in particular IDEs, testing, build and CI tools)
- Java community is light years in front of .NET community (number and quality of frameworks and third party libraries)


I am surprised this response is dated this year. I could have understood if it was dated 5 years ago.

Come on. Stop kdding yourself. Go and do some real development work using C#. You were really funny with the "tools part where you mention IDEs are better for Java than .NET". Did you really ever use the latest version of Visual Studio? Java community is light years in front of .NET community (as well as as the Java developer :-D). Its hard to fathom and pick the right tools for the job. Yeah it definitely takes light years to decide on that in the Java world!

  Message #284889 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Been going on for years....

Posted by: Mileta Cekovic on December 17, 2008 in response to Message #284800
Come on. Stop kdding yourself. Go and do some real development work using C#. You were really funny with the "tools part where you mention IDEs are better for Java than .NET". Did you really ever use the latest version of Visual Studio? Java community is light years in front of .NET community (as well as as the Java developer :-D). Its hard to fathom and pick the right tools for the job. Yeah it definitely takes light years to decide on that in the Java world!

I am doing serious development in Java and .NET in the current multi-platform project. VS2008 is improvement on VS2005, which is even greater improvement on VS2003, but still I can't imagine developing in VS :( without refactoring/navigation/code inspection plugins like ReSharper, which brings VS nearer to IntelliJ and Eclipse. Team Explorer is a joke compared to VCS integrations in IntelliJ and Eclipse (where is single click 'get latest version' and 'check-in' for the whole VS solution?).
Other your statements do not have concrete facts so I cannot argue on them. One thing is for sure: choice is better then no choice (believe I know, I am living in former socialist eastern Europe).

  Message #288835 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Been going on for years....

Posted by: Mark Nuttall on December 19, 2008 in response to Message #284800
Tony,
I've been doing Java for about 9 years and .Net since it came out and VB for 14 years (well not much recently). I do serious Java and .Net development. I will have to agree with Mileta. I have at least a few projects that started in .Net and I converted to Java because the tooling, support and wealth of 3rd party apis (in areas where it most mattered) were just to compelling.

  Message #288884 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java platforms moving to .NET?

Posted by: Mark Nuttall on December 19, 2008 in response to Message #280662
I don't see how this is news. I've been using .Net versions of Java projects for years.

NHibernate
Spring.Net
iTextSharp
Lucene.Net
NAnt

It really isn't "cross" pollination though. Pretty much one way.

  Message #291386 Post reply Post reply Post reply Go to top Go to top Go to top

Java Generics/Templates

Posted by: Srikanth Remani on December 22, 2008 in response to Message #284703
- JVM better than CLR
They are awefully close but there is no winner here. CLR is heavier and using IKVM you can run JVM on CLR, not the other way round.

- core libraries are significantly better in Java then in .NET (just look at the collections or concurrency APIs)
The Java Generics/Template implementation is universally considered bad. So, I disagree with the Collections argument. As for as the Concurrency is consider CCR is the future in .net

- Java community is light years in front of .NET community (number and quality of frameworks and third party libraries)
lightyears is a over-statement. Yes, the Java community is more vociferous and the JCP process for being democratic and stuff, gets things moving on a slower pace.

My point is the choice depends on the Application being developed and the resources that are currently available.

  Message #292408 Post reply Post reply Post reply Go to top Go to top Go to top

Java vs .NET community maturity

Posted by: Gerke Geurts on December 22, 2008 in response to Message #280662
Comparing activity between theserverside.com and theserverside.net gives an interesting perspective on >NET and Java communities...

I like the .NET languages better than Java, but miss the richness of frameworks and tools that exist in the Java world. Besides porting, using IKVM provides some opportunities though to bring in some goodness from the other side.

  Message #292464 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java Generics/Templates

Posted by: Mark Nuttall on December 23, 2008 in response to Message #291386
The Java Generics/Template implementation is universally considered bad. So, I disagree with the Collections argument

Collections being better in Java has little (nothing?) to do with generics.


lightyears is a over-statement. Yes, the Java community is more vociferous and the JCP process for being democratic and stuff, gets things moving on a slower pace.

Really? Ok. Maybe it is just a couple of light years ahead.


My point is the choice depends on the Application

I agree. As long as the application sticks to the Microsoft "happy path" choosing Microsoft technologies seems great.


and the resources that are currently available

Sadly this is all too true. If you can, choose better resources.

  Message #298002 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java Generics/Templates

Posted by: Srikanth Remani on December 31, 2008 in response to Message #292464
* Collections being better in Java has little (nothing?) to do with generics.

Generics enrich collections exponentially. .Net Generics are way better implementation than Java. So, I stand by my comments

* Really? Ok. Maybe it is just a couple of light years ahead.
Do you even know what a light year is?
.Net is on earth, so Java is in which galaxy? No Java is not way ahead. Does is have a huge code base? Yes. Is it technologically next gen to .Net ? NO

  Message #298113 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java platforms moving to .NET?

Posted by: K H on December 31, 2008 in response to Message #280662
I'm using NHibernate and log4net on my current project.
It does seem like the trend is for MS so borrow the really great stuff from the java world and use it in .Net. Case in point Entity Framework. It's immature. But it's got it's similarities to NHibernate. When it's been knocked around by the .net community and patched a few times, I'll gladly use it. Even now the integration with Visual Studio is much nicer then typeing xml into hbm mapping files, or using NHibernate.Mapping.Attributes.

And the the stuff in System.Diagnostic for tracing isn't that much different from log4net. Declaritive configuration, multiple listeners (think appenders in log4net) and a really nice log viewer are all there. I would be using the .net tracing stuff if NHibernate wasn't tied to log4net.

  Message #299410 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java Generics/Templates

Posted by: Mark Nuttall on January 03, 2009 in response to Message #298002
Generics enrich collections exponentially. .Net Generics are way better implementation than Java. So, I stand by my comments

Fine. But that still is only a small part of Collections. Even so, Generics are not "way better".

Do you even know what a light year is?
Do you know what a Hyperbole is? Do you know what humor is? It doesn't seem you know what Java is.


Does is have a huge code base?
Yes. Does it have a bigger community? Yes. Open source community? Yes. Third party products? Yes. In this sense it is far ahead.


Yes. Is it technologically next gen to .Net ? NO
Probably not. But LOOK at the person you quoted. "number and quality of frameworks and third party libraries". Then go look at http://en.wikipedia.org/wiki/Hyperbole. Then look at your reply. Then try using Java for yourself.

  Message #301864 Post reply Post reply Post reply Go to top Go to top Go to top

Experience matters...

Posted by: Tony John on January 09, 2009 in response to Message #288835
Dear Mark,

Appreciate your point of view but you need to realize where I am coming from too. I have directed the efforts of our local Java Users Group as a director for 3 years and have no aversion to the Java language per se infact I am big fan of the Java/C# OO languages. I have over 17 years of enterprise consulting experience for various companies and business sectors here in the US with 5 years of Java/J2EE experience designing web based applications using JSP and Struts as well as many other Jakarta/open source libraries. Choice is definitely good but it can definitely slow you down when it comes to deciding on which tool to pick. Once you do pick the tools, finding people which the same right combination of tools experience is really frustrating. Sure, I like choice too but when the choice is obvious based on your personal good experiences, I have definitely gone the .NET route and enjoyed solving business problem rather than figuring out how to use the myriad of tools to get the job done in the J2EE world. The ultimate goal of all developers is to satify customer software requirements and get the job done quickly and efficiently and have a good debugging and deployment mechanism. When I was working in the J2EE world I did not have good tools at that time and VS came along and helped me out a great deal. I managed to single handedly design develop and implement a complex HR Benefits based web application for a small-medium sized business unit early 2004 using .NET and the satisfaction of my client resulted in they signing me with with a monthly maintenance contract which started mid 2005 and continues till today. We can argue which is better over the other but ultimately its your good experience that matters and I can honestly say I had much better experience and success using .NET/Visual Studio than Java/J2EE development environments. Things might have changed today but sometimes past bad experiences makes it really difficult to go back especially you are continuing to enjoy the current .NET benefits.

Just me...

  Message #302082 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Java Generics/Templates

Posted by: Srikanth Remani on January 12, 2009 in response to Message #292464
Save me from your great knowledge of english language. You can use the words "fast and loose" but if someone tries to point out to that you, you are trying to be some "word smart". I don't comment with ignorance, that is not my forte and if you feel that I dont know Java, my suggestion is dont get personal here about my knowledge of programming languages. I dont know you, you dont know me, so lets keep the name calling to ourselves than spit venom into the posts.

 
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET

DSLs and language interop

Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.

VS 2008 Resources

SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.

VB code downloads home

VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.

XAML Learning Guide

Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]

Company uses VSTS DB edition to tame workflow

One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts. (June 24, Article)

Book: Intro to DSL Tools

Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage. (June 24, Article)

I See the Silverlight Shining!

Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server . (June 18, Cartoon)

A look at .NET 3.5

Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps. (June 29, Podcast)

Venkat Subramaniam on AJAX

Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience. (June 25, Tech Talk)

Building a Claims-Based Security Model in WCF - Part 2

In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier. (May 24, Article)

Introducing the Entity Framework

Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year. (May 10, Article)

WCF Security Learning Guide

Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information. (April 24, Article)

Brad Abrams: Patterns for successful ASP.NET AJAX development

TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks. (April 11, Article)

Building a Claims-Based Security Model in WCF

In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services. (March 29, Article)

Authoring workflow using XAML

Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition. (March 22, Chapter Excerpt)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map