We had this new error from Hiberante –
“java.lang.IncompatibleClassChangeError: class
org.hibernate.cfg.ExtendedMappings has interface org.hibernate.cfg.Mappings
as super class” – This is due to using the older hibernate entity
manager/annotations libraries that were around when we upgraded to the newer
3.5.x version of hibernate. Hibernate includes the entity manager and
annotations as part of the hibernate core library.
... (more)
Java Developer's Magazine
Here’s a Echo3 application in 3 steps -
1) Create HelloWorld.java
public class HelloWorld extends ApplicationInstance {
public Window init() {
Window window = new Window();
ContentPane contentPane = new ContentPane();
window.setContent(contentPane);
Label label = new Label("Hello, world!");
contentPane.add(label);
return window;
}
}
2) Create the HelloWorldServlet
public class HelloWorldServlet extends WebContainerServlet {
@Override
public ApplicationInstance newApplicationInstance() {
return new HelloWorld();
}
}
3) Change web.xml
Hell... (more)
Being an architect is a tough job. The life of an architect is very painful
especially taking many suboptimal decisions in the dark. The book “97
Things Every Software Architect Should Know” can really help avoid such
costly mistakes.
You can get the book at –
http://www.amazon.com/Things-Every-Software-Architect-Should/dp/059652269X/
... (more)
Java Developer’s Journal
We process about 300 messages / second in our application. The Service
Activator pattern has been very helpful to fork off and distribute processing
of messages. We fork off messages to a JMS queue for processing. In some
cases, the forked off messages need to run inside the same transaction of the
caller and JMS helps us achieve this.
For more information on Service Activator, refer to
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceActivator.html
and http://www.eaipatterns.com/MessagingAdapter.html
... (more)
Nice to see some initiative on a open source BPMS.
Runa WFE is an OpenSource BPMS system, based on JBoss jBPM core.
It is a cross-platform end user solution for business process development and
execution.
More information at –
http://sourceforge.net/projects/runawfe
... (more)