This essay developed out of conversations I've had with several other programmers about why Java smelled suspicious. It's not a critique of Java!
Sycorax - complete tutorials
Programming Tutorials
" Java provides the industry - software companies and customer alike , an opportunity to create a true open computing environment where software is portable,
and customers benefit from increase competition. "
Java and the Future
December 1, 2008-LEJB 3.1: EJB New and Improved!
The EJB 3.0 specification was a huge improvement from what you were used to in the early versions of EJB. Available as an early draft, EJB 3.1 has many more features and is even easier to use.
December 1, 2008-Should Java Assert that Network I/O Can't Occur on the UI Thread?
Doing network I/O on the user interface (UI) thread is bad. Most developers know that and can tell you why; unfortunately, it's still done.
Register now to recieve special alert and latest technology news!
EJB3.0 Session Beans
A session bean is an EJB 3.0 or EJB 2.1 EJB component created by a client for the duration of a single client/server session. A session bean performs operations for the client. Although a session bean can be transactional, it is not recoverable should a system failure occur. Session bean objects are either stateless or stateful: maintaining conversational state across method calls and transactions .
Stateless Session Bean
Executes a single request business process.
Does not maintain state across method invocations
After each method call, the container may choose to destroy the Stateless Session Bean.
The stateless session bean client must pass all client data that the bean needs as parameters to business logic methods each time it invokes a business method.
Eg: Interest Calculation, Credit Card Verification.
Stateful Session Bean
A stateful session bean is a bean that is designed to service business processes that span multiple method requests or transactions.
Stateful session beans retain state on behalf of an individual client.
Stateful Session beans are activated and passivated to conserve system resources.
Eg: Shopping Cart