Java

TwitterFacebook
Get flash to fully experience Pearltrees
Abstractions & Ideas

http://www.makinggoodsoftware.com/2009/11/17/how-to-create-services-in-java/ Creating services is quite an abstract subject, everyone has his own ideas and preconceptions, so is worth clarifying what I mean by services in this article. A service is a component that holds some business logic which can be easily reused anywhere else in the application no matter where the service is located, or what the communication mechanism is used between the client and the service. The following code samples detail my own personal approach on how to implement services in Java. First thing is to design the service itself through its interface public interface ServiceA { public void doThis(); public void doThat(); }

How to create services in Java

Libraries

Design Patterns

Enums

Processing

http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html Navigate yourself around pitfalls related to the Runtime.exec() method By Michael C. Daconta, JavaWorld.com, 12/29/00 As part of the Java language, the java.lang package is implicitly imported into every Java program.

When Runtime.exec() won't