Java Application Development on Linux
Prentice Hall (Verlag)
978-0-13-143697-8 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
Linux is the fastest-growing Java development platform because it saves money and time by serving as a platform for both development and deployment. But developers face significant platform-specific challenges when managing and deploying Java applications in a controlled production environment.
Written for Java and Linux developers alike, Java™ Application Development on Linux®is the hands-on guide to the full Java application development lifecycle on Linux.
Determined to spare other developers hours of trial and error, Albing and Schwarz demonstrate the platform, tools, and application development by showing realistic, easy-to-follow examples. After a simple command-line application introduces basic tools, this program leads readers through business-logic object analysis, database design, Java servlet UIs, Java Server Pages (JSP) UIs, Swing GUIs, and Standard Widget Toolkit (SWT) GUIs. Scaling up to the enterprise level provides the opportunity to use both the JBoss Application Server and the Apache Geronimo Application Servers, and Enterprise JavaBeans (EJB).
Readers learn how to
Use development tools available on Linux, such as the GNU Compiler for Java (gcj), Ant, the NetBeans IDE, IBM's Eclipse Java IDE, JUnit, and SunONE Studio
Develop business logic layers using Java DataBase Connectivity (JDBC)
Add a Web interface using servlets and JSPs
Add a GUI using Sun's Abstract Window Toolkit (AWT) and IBM's SWT
Deploy EJBs in Linux
The authors conclude by demonstrating how a hierarchy of budgets can be created, tracked, and shared with Concurrent Versions System (CVS).
A companion Website includes all source code and a link to each tool described.
Java™ Application Development on Linux® can propel you from a standing start to the full-speed development and deployment of Java applications on Linux.
Carl Albing is a programmer/analyst and consultant. With more than 20 years of industry experience, he has for several years been building business solutions using Linux and Java technologies. He has made technical presentations for conferences and corporations throughout the U.S., Canada, and Europe. Michael Schwarz is a software engineer who has worked on Linux since its emergence. He is a frequent contributor toLinux Journal and the lead author of Multitool Linux (Addison-Wesley, 2002).
Preface.
Introduction.
I. GETTING STARTED.
1. An Embarrassment of Riches: The Linux Environment.
What You Will Learn.
The Command Line: What's the Big Deal?
Basic Linux Concepts and Commands.
Review.
What You Still Don't Know.
Resources.
2. An Embarrassment of Riches: Editors.
What You Will Learn.
Eye to Eye with vi.
Editors Galore.
Review.
What You Still Don't Know.
Resources.
3. An Experienced Programmer's Introduction to Java.
What You Will Learn.
Fundamental Language Elements.
Using (and Making) Java APIs.
Encapsulation, Inheritance, and Polymorphism.
O, Templates! Where Art Thou?
Virtually Final.
A Useful Simple Application.
Review.
What You Still Don't Know.
Resources.
Exercises.
4. Where Am I? Execution Context.
What You Will Learn.
A Simple Start.
The SystemClass.
The Properties Class.
The Runtime Class.
Review.
What You Still Don't Know.
Resources.
5. The Sun Microsystems Java Software Development Kit.
What You Will Learn.
All You Need, and Not One Thing More.
The Java Compiler.
The Java Runtime Engine.
Complete, Up-to-Date Program Documentation Made Easy.
Dispensing with Applets.
Going Native.
Introducing RMI.
The Java Debugger.
Return to the Source: The Java Decompiler.
Bundling a Java Program: Put It in a JAR.
The Rest of the Toolkit.
Review.
What You Still Don't Know.
Resources.
6. The IBM Developer Kit for Linux, Java 2 Technology Edition.
What You Will Learn.
Use Linux Features to Make Multiple Java SDKs Play Nicely Together.
How the IBM JDK Differs from the Sun JDK.
What Are All These "_g" Versions?
Review.
What You Still Don't Know.
Resources.
7. The GNU Compiler for Java (gcj).
What You Will Learn.
A Brand GNU Way.
The GNU Compiler Collection.
Compiling Our Simple Application with gcj.
Options and Switches.
Reasons to Use gcj.
Reasons Not to Use gcj.
Review.
What You Still Don't Know.
Resources.
8. Know What You Have: CVS.
What You Will Learn.
Source Control: Whys and Hows.
A GUI: jCVS.
Review.
What You Still Don't Know.
Resources.
9. Ant: An Introduction.
What You Will Learn.
The Need for a Different Build Tool.
Obtaining and Installing Ant.
A Sample Ant Buildfile.
Review.
What You Still Don't Know.
Resources.
10. Integrated Development Environments.
What You Will Learn.
NetBeans: The Open Source IDE.
SunONE Studio Community Edition.
Eclipse: The Source of SWT.
Review.
What You Still Don't Know.
Resources.
II. DEVELOPING BUSINESS LOGIC.
11. Balancing Acts: An Imaginary Scenario.
What You Will Learn.
Statement of the Need.
How to Develop Software.
What Makes a Good Requirement.
Whom to Ask for Requirements.
Requirements for the Budget Application.
Documenting, Prototyping, and Stakeholder Buy-In.
Review.
What You Still Don't Know.
Resources.
Exercises.
12. Analysis and Design: Seeking the Objects.
What You Will Learn.
Facing the Blank Page.
Using CRC Cards.
Finding the Objects.
Finding the Methods and Attributes.
Essential and Nonessential.
Analysis Paralysis.
Real Software Engineering.
Core Classes.
Review.
What You Still Don't Know.
Resources.
Exercises.
13. JUnit: Automating Unit Testing.
What You Will Learn.
JUnit: Why All the Fuss?
Design Then Test Then Code.
Installing and Running JUnit.
Writing Test Cases.
Running Test Suites.
Review.
What You Still Don't Know.
Resources.
Exercises.
14. Storing the Data.
What You Will Learn.
Follow the Objects.
Of Persistence.
Thinking of the Future, or Painting in Corners.
Oracle, PostgreSQL, MySQL.
Being Self-Contained.
Beyond the Basics.
Persistence Is Not the Whole Story.
Setting Up PostgreSQL for BudgetPro.
Review.
What You Still Don't Know.
Resources.
Exercises.
15. Accessing the Data: An Introduction to JDBC.
What You Will Learn.
Introducing JDBC.
Making Connections.
Querying Data.
Getting Results.
Updates, Inserts, Deletes.
Review.
What You Still Don't Know.
Resources.
Exercises.
III. DEVELOPING GRAPHICAL USER INTERFACES.
16. Getting in the Swing of Things: Designing a GUI for BudgetPro.
What You Will Learn.
A Simple Swing Program 342
Stompin' at the Savoy, or The Swing Paradigm.
Slow, Slow, Quick-Quick, Slow: The Basic Swing Objects.
Layout Managers.
Beyond Arthur Murray: Actions, Listeners, Events.
Getting Down to Cases: Designing a GUI for BudgetPro.
Review.
What You Still Don't Know.
Resources.
Exercises.
17. Other Ways: Alternatives to Swing.
What You Will Learn.
The IBM SWT Toolkit.
Porting BudgetPro to SWT.
SWT and gcj.
Review.
What You Still Don't Know.
Resources.
Exercises.
IV. DEVELOPING WEB INTERFACES.
18. Servlets: Java Pressed into Service.
What You Will Learn.
Servlets: Program-Centric Server-Side Documents.
Perspective.
How to Write a Servlet.
Input, Output.
Matters of State: Cookies, Hidden Variables,and the Dreaded Back Button.
Designing a BudgetPro Servlet.
Review.
What You Still Don't Know.
Resources.
Exercises.
19. JSP: Servlets Turned Inside Out.
What You Will Learn.
Servlets Turned Inside Out: JSP.
How to Write a JSP Application.
Using JSP with BudgetPro.
Review.
What You Still Don't Know.
Resources.
Exercises.
20. Open Source Web Application Servers.
What You Will Learn.
Downloading JBoss.
Be an Enabler, or "Let's Be Codependent!"
Installing JBoss.
Things That Make It Go.
Disposition of Forces.
Apache Geronimo.
Installing Geronimo.
Running the Geronimo Server.
Review.
What You Still Don't Know.
Resources.
V. DEVELOPING ENTERPRISESCALE SOFTWARE.
21. Introduction to EnterpriseJavaBeans.
What You Will Learn.
Expanding to EJBs.
What's in a Name? An Introduction to JNDI.
Review.
What You Still Don't Know.
Resources.
22. Building an EJB.
What You Will Learn.
EJBs: You Don't Know Beans?
Review.
What You Still Don't Know.
Resources.
23. Deploying EJBs.
What You Will Learn.
Lend Me Your EAR: Enterprise Packaging and Deployment.
Deploying the EAR.
Maintaining a Distributed Application.
Abstracting Legacy Applications.
Review.
What You Still Don't Know.
Resources.
24. Parting Shots.
The Future's So Bright, I Squint and Look Confused.
Our Book Is Yours.
Came the Revolution.
What You Still Don't Know.
Resources.
Appendix A. ASCII Chart.
Appendix B. A Java Swing GUI for BudgetPro.
Appendix C. GNU General Public License.
Index.
Erscheint lt. Verlag | 2.12.2004 |
---|---|
Verlagsort | Upper Saddle River |
Sprache | englisch |
Maße | 175 x 230 mm |
Gewicht | 1190 g |
Themenwelt | Informatik ► Betriebssysteme / Server ► Unix / Linux |
Informatik ► Programmiersprachen / -werkzeuge ► Java | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 0-13-143697-X / 013143697X |
ISBN-13 | 978-0-13-143697-8 / 9780131436978 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich