Developing Java Enterprise Applications by Stephen Asbury

By Stephen Asbury

From the time this e-book was once first released apparently no longer many folks favored it. that's most likely since it isn't really a Wrox Press-style treatise on how one can construct full-blown expert Java firm courses. as a substitute it's a sampler of the entire numerous Java firm applied sciences, whole with small courses that exhibit tips on how to use a few of the API's. It starts off out answering such uncomplicated questions as what's company improvement? and Why use Java for firm improvement? It then devotes a bankruptcy or every one to introducing the reader to a number of the company API's - JDBC for database regulate, the JNDI for handling items in a listing, server-side programming with servlets, JSP, and JavaBeans, coping with distant gadgets with RMI and Corba, the fundamentals of XML, developing and sending e-mail utilizing JavaMail, and masses extra. not one of the chapters is meant to make you an industrial-strength Java firm programmer. The goal is simply to offer you a concept of what all the person applied sciences and applications can do through brief programming examples so you are able to take on the Wrox Press J2EE books of the realm. the single undesirable aspect of the booklet is that it truly is in dire want of an replace through a third version that i believe will most likely by no means come a result of loss of luck this ebook eventually had within the realm of overall revenues. notwithstanding, when you are ok with Java and wish to get a style of what the company API's can do i feel it's nonetheless a superb funding, really on the very low used costs at which it truly is presently to be had.

Show description

Read Online or Download Developing Java Enterprise Applications PDF

Similar java books

Java 2 Enterprise Edition Bible

Welcome to Java 2 firm variation Bible. This booklet, that is a stick with as much as Java 2 Bible, is for readers who desire to recognize extra in regards to the firm industry. firm programming is a sizzling subject nowadays, as increasingly more businesses come to a decision they want an internet presence to enrich their latest bricks?

Component Development for the Java Platform

If you are fascinated by writing elements in Java, this booklet makes a speciality of the part providers you want to grasp. DevelopMentor leader Scientist Stuart Halloway provides unheard of, in-depth insurance of writing, deploying, and protecting Java parts. Halloway starts off by means of exhibiting how you can use, regulate, and troubleshoot elements.

Java Programming: From Problem Analysis to Program Design, 4th Edition

Designed for the start programming scholar, this e-book will inspire rookies whereas educating basic programming thoughts. in keeping with years of school room checking out, this fourth variation of JAVA™ PROGRAMMING: FROM challenge research TO application layout techniques programming with a spotlight on transparent causes and perform - severe elements in studying the Java language.

Tuscany SCA in Action

Tuscany SCA in motion is a finished, hands-on advisor for constructing technology-agnostic, extensible functions. via following a travel-booking instance through the e-book, you will the best way to version, compose, installation, and deal with functions utilizing SCA. The booklet emphasizes useful matters, like successfully utilizing Tuscany's supported bindings and protocols and integrating with typical applied sciences like Spring and JMS to save lots of improvement time and value.

Additional info for Developing Java Enterprise Applications

Example text

Queries the database for a single table of result values. Usually used for simple SELECT statements. executeUpdate(). Updates values in the database. Usually used for INSERT, UPDATE, DELETE, or data definition commands such as CREATE. This method returns a count of rows affected by the command. execute(). Queries the database for potentially multiple tables of result values. Use this for calling a stored procedure that returns multiple results. Under some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts.

For a one-time query, use the Statement object. In each case, you are handling one SQL statement at a time. The next section looks at how to control multiple SQL calls in a single transaction. - 51 - Managing Transactions A transaction is a collection of consecutively executed database commands that are considered linked as one business process. If any part of a transaction fails, the programmer has the option of retrying the transaction or saving the current state of the transaction as permanent.

Close(); ... Prepared Statements As shown in the last example, it is common to execute the same statements repeatedly, with changes to only the value attributes. Each time you construct a statement string, it must be compiled and the driver must map the values in your string to the SQL understood by the underlying database. If you execute enough identical statements, this can become inefficient. JDBC provides an interface called a prepared statement that - 50 - implements the Statement interface.

Download PDF sample

Rated 4.46 of 5 – based on 7 votes