Does .NET With LINQ Beat Java?


Framework's data query capabilities give it an edge, experts claim.


Email    print   
January 29, 2008 —  (Page 1 of 3)
There is a question some developers are asking: Has LINQ given Microsoft’s latest .NET Framework an edge over Java? Industry experts say “yes,” but with some caveats.

Microsoft shipped Language Integrated Query as part of the .NET Framework 3.5 in November. LINQ was originally one of many research projects that the company has under way. LINQ integrates query concepts directly into .NET programming languages using a syntax that is similar to SQL, to simplify the querying of data, objects and XML.

Patrick Hynds, president of security consultancy CriticalSites, said that LINQ is “an object-oriented revolution for data,” because it, like object-oriented programming, allows programmers to write code that is more like the way people think.

Before LINQ, he explained, developers had to adapt to a particular programming language’s precepts of the way data was organized and accessed. “One of the key things that I found about Java is that it has been very comfortable to make the developer conform to what ‘they’ [Sun and The Java Community Process executive committee] thought that the developer should use,” Hynds noted, adding that Microsoft’s LINQ implementation deals with data in a more “conversant” way.

Hynds is a regional director of the Developer Platform evangelism group, volunteers recognized by Microsoft for technical expertise.

Other Options
RedMonk analyst Stephen O'Grady noted that while there may not currently be equivalent functionality within the Java platform, there are options for Java persistence that offer “LINQ-like functionality,” naming db4objects as an example.

Db4objects is an open-source object database for Java and .NET developers, which uses a technology called Native Query that can optimize native language constructs into queries, without relying on a particular language’s syntactical extensions.

Jonathan Bruce, program manager for .NET technology group at DataDirect Technologies, and formerly JDBC specification lead and architect for the Java platform at Sun, said that developers are “clearly excited” about what Microsoft has come up with, but cautioned that it is not as original as they make it out to be.




Pages 1 2 3 


Share this link: http://sdt.bz/31643
 
Most Read Latest News Blog Resources


Comments


10/08/2011 03:16:30 PM EST

There is a LINQ equivalent in Java: https://github.com/nicholas22/jpropel-light. The syntax is almost exactly the same: String[] names = new String[] { "james", "john", "john", "eddie" }.where(startsWith("j")).distinct();

United Kingdomnicholas22


Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
JNBridge provides transactions between Java and .NET
JNBridgePro 5.0 goes beyond adapters and lets users have cross-platform transactions between apps from the two languages Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb