osdir.com
mailing list archive

Subject: Jackrabbit running on dotnet - msg#00024

List: java.ikvm.devel

Date: Prev Next Index Thread: Prev Next Index
Hello list,

To be honest I thought this was never going to work. So I am happy to tell you that
I have the JSR-170 repository Jackrabbit (jackrabbit.apache.org) running under dotnet after compiling these jars:

xml-apis.jar
resolver.jar
serializer.jar
xercesImpl.jar (2.8.0)
xalan.jar (2.7.0 2jars)
commons-collections-3.1.jar
concurrent-1.3.4.jar
log4j-1.2.8.jar
slf4j-log4j12-1.0.jar
derby.jar (10.1.2.1)
lucene-1.4.3.jar
jcr-1.0.jar
jackrabbit-core-1.0.jar

I translated the three entry level demo's "FirstHop, SecondHop and ThirdHop" into C# and they are working fine.


To get the whole thing working I had to add the following c# lines before calling the examples:

AppDomain.CurrentDomain.Load("xercesImpl");
AppDomain.CurrentDomain.Load("xalan");
AppDomain.CurrentDomain.Load("derby");

java.lang.System.setProperty(
"javax.xml.parsers.DocumentBuilderFactory",
"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");

java.lang.System.setProperty(
"javax.xml.transform.TransformerFactory",
"org.apache.xalan.processor.TransformerFactoryImpl");
At the moment I do not know yet whether I am actually going to use this.
If anyone is interested, let me know.

Hugo Burm



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

RE: Overhead and Best Practices

Jeroen Frijters wrote: > Now 10,000 iterations take almost 6 seconds! Oops. It turns out that this was actually a regression (that only showed up in microbenchmarks like this, not in most real world code). After fixing the regression, the time goes down to 900 ms. Still a fair bit slower than the optimized variant, but not quite as bad. Regards, Jeroen ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

Next Message by Date: click to view message preview

RE: Jackrabbit running on dotnet

Hugo Burm wrote: > To be honest I thought this was never going to work. So I am happy to > tell you that I have the JSR-170 repository Jackrabbit > (jackrabbit.apache.org) running under dotnet after compiling these jars: Excellent! Thanks for letting us know. Regards, Jeroen ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

Previous Message by Thread: click to view message preview

RE: Overhead and Best Practices

Mark Proctor wrote: > IKVM with Drools 2.x has been a great success. We are now > looking to do something similar for Drools 3.0. However we > are under pressure for a full port of the core code - which > I want to resist due to the resources needed to maintain > such an effort. > > One key issue that .Net developers bring up is the overhead of using > IKVM - quoting figures of over 20%. I have no empiracal facts, but I > find that hard to be true. In general 20% sounds way too high, but some operations are significantly slower. For example, exception handling is much slower under IKVM than under either pure .NET or Java. Dynamically loading Java classes is also pretty inefficient, but for statically compiled code the overhead typically is low. Another issue plays more at the design level, if you rewrite and re-design your code for .NET you're more inclined to use .NET specific features (like for example value types) that can affect performance in a more significant way. > Also maybe a "Get the Facts" document might help, as i have > some users worred about a Frankenstein system; even though I tell > them that running Java on .Net is no different than runny Python > or VB, it all compiles down to IL. That's true, but a significant drawback of IKVM is the fact that you have to ship the Java class libraries (in the form of IKVM.GNU.Classpath.dll). Regards, Jeroen ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

Next Message by Thread: click to view message preview

RE: Jackrabbit running on dotnet

Hugo Burm wrote: > To be honest I thought this was never going to work. So I am happy to > tell you that I have the JSR-170 repository Jackrabbit > (jackrabbit.apache.org) running under dotnet after compiling these jars: Excellent! Thanks for letting us know. Regards, Jeroen ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by