O'Reilly logo

J2EE™ Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice by Pankaj Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Brief Overview of EJBs

In what follows you will find a highly simplified overview of the EJB technology. This overview, as well as the coverage in the rest of this chapter, is based on the EJB 2.0 specification. The concepts are illustrated with source code from a working program, packaged as Example ch10-ex1, consisting of a simple bean named Echo with the method String echo(String arg). As the name and method signature suggest, this method simply returns its string argument.

In this section, we look at the source code fragments of this example. The complete set of source and execution script files can be found in the subdirectory src\jsbook\ch10\ex1 of the JSTK installation directory. For our experimentation, we assume that all the example ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required