Eclipse Rich Client Application

Wayne Beaton, Eclipse Evangelist

Create Rich Clients very fast with everything


Keyfeatures
  • Works offline
  • Have the abillity to shutdown the computer
  • Can take full control over the computer
  • Complete branding with specifying executable name and splashes and so on
  • Complete framework with help-, update- and window-functionality
My experience
I have for the past month been working on creating Rich Clients using Eclipse.
It's pretty easy - even I understand it...
The sideeffect is that I also learned quickly to develop plugins for the Eclipse IDE-platform.

The Book
I've got a copy of the book Eclipse Rich Client Platform which is a really good tutorial with a step-by-step guide how to develop a chat client called Hyperbola.
It walks you through everything and is a must-have when starting developing Rich Clients and/or plugins.

Links
http://wbeaton.blogspot.com
http://eclipse.org/rcp
http://news.eclipse.org/eclipse.platform.rcp
http://osgi.org

Webservices in Action, Axis2

Dennis Sosnoski

Axis2 can get new services or get modified on-the-fly.
Axis2 has more flexible processing and can say at which state a given process should run (ex. encryption/decryption).


Deployment
It now uses a .aar jar-file with a META-INF/services.xml to describe the services.

For databinding, XMLBeans is included, but other frameworks can be used.
(Not Castor though)

XMLBeans must be build up from the bottom and up, meaning that you have to create the lowest element first, and then add it to its parent. Once an element is added, it can’t be changed.

If you use Axis Data Binding (ADB):
  • Slower thant XMLBeans
  • Don’t support local types

Or use JIBX, which is Dennis’s own framework.
  • Data transfer classes stay the same
  • Use existing code on server.

If you develop webservices, it’s always good to use tcpmon to debug what’s actual transmitted over the wire.

Axis2 supports asynchronous communication with a so the reply may for example come back as an email.

WS-Security
Axis2 supports WS-security:
  • Signing
  • Encryption
  • X-509
  • And so on…

WS-ReliableMessaging
  • Acknowledgement of messages received
  • All the same issues as JMS

WS-AtomicTransaction
  • Two-phase commit.

Links
http://www.sosnoski.com

Business Rules Engines

Mark Proctor, JBoss

Drools brands as JBoss Rules Engines.



Software that can apply one or more rules.

Data and logic gets separate, but this is not more different than normal MVC, but the way the rules are made, you get the rules on a higher level.

For example you may ask: “Is it my birthday?” Then the rules engine uses backward chaining to figure out the answer. First, find out who you are, then find the date of your birthday, and then finally find out which date today is.

Drools can get the rules from URI, JNDI or what ever you like.

The rules are made out of patterns like Person(name = “John”).
Be aware that OR is supported but a good idea, because of the way the rules engine builds it up. It’s far better to stick with AND’s for performance.

Agenda
When all the facts are matched for a given rule, they are placed on the agenda for activation.
When the facts no longer is true, they are removed from the agenda.

Links
http://drools.codehaus.org

Picture of javagruppen


Little collage of the pictures of javagruppen.