JNI .NET - Java calling native C++ and .NET
Three weeks ago I presented in SUN’s java technology day. I show interoperability between .NET and java in several ways- JNI (java native interface), DB (shared database), SOA (web services intergration), and open standards (with OPENXML).
Some people asked me to share the JNI code I demonstrated because there is very little documentation and examples out in the web of java calling C++ managed code, especially using visual studio 2005 and orcas.
This is a simple example of java application calling a native C++ dll and a managed C++ dll.
All you need to do is to download the files and follow the 1-5 instructions:
Language syntax's, performance, PHP, Ruby, Java and who's better? Ahhhh!
Language syntax's, performance, PHP, Ruby, Java and who's better? Ahhhh! -
I was reading on The Server Side and came across this post:
http://www.theserverside.com/news/thread.tss?thread_id=43020#221954
which is part of this overall discussion:
Tim Bray: Java is less scalable than PHP
Scaling Enterprise Java on 64-bit Multi-Core X86-Based Servers
Scaling Enterprise Java on 64-bit Multi-Core X86-Based Servers - Today's enterprise server--indeed, the environment--isn't what it was when Java was born. Slow networked machines have been replaced by fast, 64-bit multi-core servers that can house all your tiers in one box or even virtualize servers within the server. This has a significant effect on the design and deployment of your Java enterprise application, and Michael Yuan and Dave Jaffe show you how to get the most out of your hardware. [on java]
Ajax persistent Data Objects - AjaxDo 1.1 released!
NewsRelease 1.1 adds a fully functional JAVA server-side implementation to the pre-existing PHP server-side implementation. Now, Ajaxdo enabled applications can work in a JSP/JDBC environment and port easily from PHP to JAVA and vise-versa.
Code, examples and documentation can be found here.
What is Java Content Repository
What is Java Content Repository - You might have heard of JSR-170, but what is a content repository, and what can you do with it? Well, do you want to manage documents with versioning, search, access control, and more? Content repositories offer these features, and JSR-170 codifies them into a single API. Sunil Patil shows how to use the reference implementation--Apache Jackrabbit--to create a blogging application. [on java]
Ajax persistent Data Objects - AjaxDo 1.0 released under the MPL license
NewsAjax Data Objects (ajaxdo) provides an easy database persistency framework for JavaScript objects. Ajaxdo enables runtime loading, saving, deleting, and listing of JavaScript objects stored on the server database. Using Ajaxdo can dramatically reduce server side code and make a Web 2.0 application port easily from one server-side programming language to another.
Release 1.0 contains a fully featured ajaxdo JavaScript implementation with load, save, delete and list capabilities, as well as PHP and mySQL server side implementation.
Code, examples and documentation can be found here.
How to make money from open source / open source revenue models
A friend asked me the other day: “I heard you work for an open source company, must be frustrating not making money from your code... how can you make money if you give away your code and IP?”
JComet 0.1 released under the apache license!
NewsRelease 0.1 contains a dynamic properties file that can monitor its source configuration file and reload whenever it is modified. It also provides the ability to register listeners that are notified when properties change.
Spring-Dashboard 1.0 released under the apache license!
NewsRelease 1.0 contains a framework for gathering statistic runtime information on spring web application, a configurable dashboard view with a default AJAX implementation and an example application that demonstrates the Spring-Dashboard basic abilities.

