db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Product News from the Core Team

This blog features product news right from the core developer team, once new features and functions get checked into Subversion, available as Continuous Build every 2 hours.

Sharpen your Java app now: Java to C# converter released as free software

As of today, db4objects releases its Eclipse based Java to C# source code conversion tool "sharpen" as free software.

sharpen is the "secret sauce" that enables us to provide the [db4o object database engine] in native versions for the Java and .NET platforms from a single code base.

Features include:
  • mapping between Java and .NET native type systems
  • compliance with C# coding conventions
  • user defined namespace/class/method mappings
  • method to property mappings
  • Generics support
  • partial conversions
  • mixing native and converted C# sources
  • VS solution file support
  • Ant integration
sharpen is used extensively in the db4o build system, generating most of the db4o engine core code and the unit test suites from the Java sources.

Before you start dreaming: sharpen is not a "magic wand". Don't expect to feed it an arbitrary Java app and receive a running .NET version at the push of a button. The translation process will require some design compromises on the Java side, and parts of the .NET code still have to be hand crafted and integrated into the converted sources. Still, we believe sharpen provides an amazingly smooth way to bridge the gap between Java and .NET and create real cross platform applications.

We are looking forward to see which sharpen propelled applications will cross the language chasm, and we're hoping on your feedback and your contributions that will help to cover automatic conversion of even more Java constructs and idioms, moving Java/.NET cross platform integration to a new level.

sharpen is released under the GPL. The svn repository, documentation and issue tracker are online. All that's missing now is you bringing your Java app to the .NET platform. To get you started, here is the full anatomy of a simplistic application developed with sharpen. Have fun!
Published Wednesday, May 21, 2008 1:27 AM by Patrick Roemer
Filed under: , ,


Comments

 

mjablonski said:

Great news... because this release is another important piece in the puzzle to convince people that db4objects is an committed open-source-company... besides all the great features of db4o, the strong open-source-strategy of db4objects was the most important decision factor for me to use db4o in critical projects... and I'm soooo happy with decision...:-)

Thanks to the db4o-team for the wonderful work!

May 20, 2008 6:30 PM
 

db4o Newsletter said:

"Sharpen" Translates your Java Application Sources to C# db4objects' dRS is the First Object Replication

May 22, 2008 11:00 PM
 

greenday said:

sharpen!!!!!!? are you wasting your time?

i think solving DB4O problems is most important that these things.

there is a network problem for client, server that is for last year and nobody do something about it. also i have many problem in dRS that they are unsolved yet.

my friends report it here but nobody work on them too.

i think DB4O is not on the right way.....

May 23, 2008 6:24 AM
 

Carl Rosenberger said:

Without Sharpen there would be no .NET version of db4o.

May 23, 2008 7:55 PM
 

bao said:

Great carl!  Nice decision to open-source this tool. Thanks again for the nice job your're doing.

May 24, 2008 12:39 PM
 

db4o News and Press Releases said:

"Sharpen" Increases Market Reach While Keeping a Unified Code Base SAN MATEO, Calif., May 30, 2008 -

June 11, 2008 5:18 PM
 

db4o Newsletter said:

db4o 7.4 Development Release is available for immediate download ! A R T I C L E S db4o Announces its

June 28, 2008 11:39 PM
Anonymous comments are disabled

This Blog

Syndication RSS Feeds

News

Get the latest features every 2 hours with the Continuous Build!