- EJB 3 Developer Guide
- Michael Sikora
- 368字
- 2021-07-02 11:34:52
Approach of this Book
This book has been written for developers new to EJB 3 who want to use the technology. Such readers usually want to see examples and program code. In this book we work through one example after another and we show lots of program code. If you are new to a technology and have looked at your first HelloWorld
example, the next thing you want to do is to code and run the program yourself. In the case of EJBs this also means packaging and deploying the EJB to a container. Although we promise no HelloWorld
examples in this book, we look at packaging and deployment straight after coding our first EJB, rather than ignoring these topics or leaving them to the end of the book.
All the source code together with packaging and deployment scripts is available from the book's web site.
This book is not a reference book, so we don't attempt to cover all EJB 3 features. We've kept this book concise to help you quickly get up and running with EJB 3.
Although an EJB will run in any EJB container, the deployment process is container-dependent. This means that we need to pick a specific container for our examples. Sun's open-source, free GlassFish container was chosen primarily because this was the Java EE reference container implementation and also because GlassFish has Toplink embedded. Toplink in turn is the reference JPA persistence engine.
We also chose not to use an IDE (Integrated Development Environment) partly because they are all quite different. A book based on IDE A would be of little use to a reader using IDE B. As IDEs are screen-based navigational tools, any resulting book would contain a large number of screenshots and would be at least double in length. More importantly is the author's view that an IDE is not an ideal learning tool. Apart from having to learn to navigate through a large number of screens, often an IDE will hide the underlying EJB technology. Of course once you have learnt EJB an IDE will make you much more productive in your work.
Instead we use the Ant build tool for compiling, packaging, deploying, and running our EJBs.
- 平面設(shè)計(jì)綜合教程:Photoshop+Illustrator+CorelDRAW +InDesign(微課版)
- Excel 2016入門與提高
- 3ds Max/MaxScript印象 腳本動(dòng)畫制作基礎(chǔ)與應(yīng)用
- 中文版Photoshop CS6平面設(shè)計(jì)從新手到高手(超值版)
- Visio圖形設(shè)計(jì)從新手到高手(兼容版)
- Photoshop 2024從入門到精通
- 中文版CINEMA 4D R20 實(shí)用教程
- 原片蛻變:Photoshop CC商業(yè)修圖必修課
- SolidWorks 2017基礎(chǔ)與實(shí)例教程
- Illustrator平面設(shè)計(jì)應(yīng)用教程
- 從零開始:Dreamweaver CS6中文版基礎(chǔ)培訓(xùn)教程
- Excel 2010數(shù)據(jù)處理與分析立體化教程
- NumPy 1.5 Beginner's Guide
- Funambol Mobile Open Source
- AutoCAD 2020中文版從入門到精通(升級(jí)版)