Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gwens committed Nov 18, 2016
0 parents commit 12feec4
Show file tree
Hide file tree
Showing 134 changed files with 9,954 additions and 0 deletions.
273 changes: 273 additions & 0 deletions 1195.html
@@ -0,0 +1,273 @@
<head>
<title>Updates for WebSphere Studio Application Developer 5.0 (ISBN: 159059-120-8)</title>
<style type="text/css">
body {
background-color: #FFF;
font-family: Verdana, sans-serif;
font-size: 80%;
}
</style>
</head>

<body>
<h1>Updates for <i>WebSphere Studio Application Developer 5.0 (ISBN: 159059-120-8)</i></h1>
<p>Thanks for buying&nbsp;our book. We hope you've enjoyed it and found it helpful.</p>
<p>We'll continue to post updates and corrections here as we find them. If you
find additional errors, please tell us about them by sending an email to:
<a href="mailto:errata@apress.com">errata@apress.com</a>.</p>
<p><i>Igor Livshin </i> <P></P>

<h2>Chapter 2—Setting Up the Development Environment</h2>
<p><b>Page 13</b>. Near the top of the page. Replace :</p>
<p>net stop DB2 JDBC Applet Server</p><BR>by<BR>
<p>net stop "DB2 JDBC Applet Server"</p>
<h2>Chapter 4—Developing Database Application</h2>
<p><b>Page 65</b>Listing 4-1 near the end of the page. Replace:</p>
<p>BuildTextbookDatabase.sql.</p>
<B>by</B>
<p>BuildTechbookDatabase.sql.</p>

<h2>Chapter 4-Developing Database Application</h2>
<p><b>Page 65</b> Listing 4-1 near the end of the page. Replace:</p>
<p>BuildTextbookDatabase.sql.</p>
<B>by</B>
<p>BuildTechbookDatabase.sql.</p>

<h2>Chapter 4-Developing Database Application</h2>
<p><b>Page 98</b>The first centence of the Configuring the Datasource Connection section. Replace:</p>
<p>DBDatasourceProjectApp</p>
<B>by</B>
<p>DBDatasourceServer</p>

<h2>Chapter 4-Developing Database Application</h2>
<p><b>Page 101</b>. The first centence of the Testing the Application section. Add new text:</p>
<p>In the Server Configuration view, right-click DBDatasourceServer and select Add->DBDatasourceProjectApp</p>

<h2>Chapter 5-Using EJB Query Language</h2>
<p><b>Page 110</b>Near the middle of the Listing 5.1. Replace :</p>
<p>"iiop://localhost/);</p><BR>by<BR>
<p>"iiop://localhost/)";</p>

<h2>Chapter 5-Using EJB Query Language</h2>
<p><b>Page 110</b>. Near the middle of the Listing 5.1. Replace :</p>
<p>.Context</p><BR>by<BR>
<p>Context</p>

<h2>Chapter 5-Using EJB Query Language</h2>
<p><b>Page 129</b>Near the top of the page. Replace :</p>
<p>SELECT Object(a) FROM Book_catalog As o, IN(o.authors) As a</p><BR>by<BR>
<p>"SELECT Object(a) FROM Book_catalog As o, IN(o.Author)"</p>

<h2>Chapter 5-Understanding Programmatic Security</h2>
<p><b>Page 181</b>Near the top of the page. Replace:</p>
<p>java.security.Principal proncipal = request.getRemoteProncipal()</p>
<B>by</B>
<p>java.security.Principal principal = request.getUserPrincipal()</p>

<h2>Chapter 6-Developing BMP Entity Beans</h2>
<p><b>Page 181</b>Near the bottom of the page. Replace:</p>
<p>Click Browse and enter java.io.Serializable</p>
<B>by</B>
<p>Click Add and enter java.io.Serializable</p>

<h2>Chapter 6-Developing CMP Entity Beans</h2>
<p><b>Page 196</b>Near the bottom of the page. Delete the folowing lines:</p>
<p>You will use the getter/setter methods for the attribute(s) that form the Primary Key for the bean.
With techLibBook_catalogBean still open in the Java Editor View, right-click the getCatalog_number method
and select Enterprise Bean ->Promote to the Local Interface. Do the same for the setCatalogNumber mrthod.
Use the same steps to promote Getter/Setter methods for the key attributes (txnDate and txnTime) for TechLibBook_activityBean.</p>

<h2>Chapter 6-Developing BMP Entity Beans</h2>
<p><b>Page 230</b>Near the bottom of the page. Replace:</p>
<p>TransportObjectBean</p>
<B>by</B>
<p>TransportBean</p>

<h2>Chapter 6-Developing BMP Entity Beans</h2>
<p><b>Page 231</b>Near the top of the page. Replace:</p>
<p>TransportObjectBean</p>
<B>by</B>
<p>TransportBean</p>

<h2>Chapter 6-Developing BMP Entity Beans</h2>
<p><b>Page 233</b>Near the middle of the page. Replace:</p>
<p>(ECN)</p>
<B>by</B>
<p>(ENC)</p>

<h2>Chapter 6-Developing BMP Entity Beans</h2>
<p><b>Page 238</b>Near the middle of the page. Replace:</p>
<p>where CATALOG_NUMBER=? and</p>
<B>by</B>
<p>where COMPANY_NAME=? and</p>

<h2>Chapter 6-Developing BMP Entity Beans</h2>
<p><b>Page 245</b>lISTING 6-13. Add after: Listing 6-13. BookInquiryKey.java:Primary Key Class:</p>
<p>NOTE. Please download this source from the APRESS web site. There are important code changes.</p>

<h2>Chapter 6-Developing Statless Session Bean</h2>
<p><b>Page 259</b>Listing 6-17. Replace:</p>
<p>Listing 6-17 shows the source code for the TechLibFacadeLocalHome interface.
TechLibFacadeLocalHome.java - the Local Home Interface<P></P>
package apress.wsad.techlib;<BR>
/**<BR>
* Local Home interface for Enterprise Bean: TechLibFacade<BR>
*/<BR>
public interface TechLibFacadeLocalHome extends javax.ejb.EJBLocalHome<BR>
{<BR>
/**<BR>
* Creates a default instance of Session Bean: TechLibFacade<BR>
*/<BR>
public apress.wsad.techlib.TechLibFacadeLocal create()<BR>
throws javax.ejb.CreateException;<BR>
}<BR>
</p>
<B>by</B>
<p>Listing 6-17 shows the source code for the TechLibFacadeHome interface.<P>
</p>
package apress.wsad.techlib;<BR>
/**<BR>
* Home interface for Enterprise Bean: TechLibFacade<BR>
*/<BR>
public interface TechLibFacadeHome extends javax.ejb.EJBHome<BR>
{<BR>
/**<BR>
* Creates a default instance of Session Bean: TechLibFacade<BR>
*/<BR>
public apress.wsad.techlib.TechLibFacade create()<BR>
throws javax.ejb.CreateException, java.rmi.RemoteException;<BR>
}<BR>

</p>

<h2>Chapter 6-Developing Statless Session Bean</h2>
<p><b>Page 259</b>Listing 6-18.Replace:</p>
<p>
TechLibFacadeLocal.java the Local Interface
package apress.wsad.techlib;
import javax.ejb.FinderException;
import java.util.Vector;

/**
* Local interface for Enterprise Bean: TechLibFacade
*/
public interface TechLibFacadeLocal extends javax.ejb.EJBLocalObject
{
// This business method must be promoted to the remote interface
public Vector getBookForPlatform(String workPlatform)
throws FinderException;
}

</p>
<B>by</B>
<p>Listing 6-18 shows the source code for the TechLibFacade interface.<P>
</P>package apress.wsad.techlib;<BR>

import javax.ejb.FinderException;<BR>
import java.util.Vector;<BR>

/**<BR>
* Remote interface for Enterprise Bean: TechLibFacade<BR>

*/<BR>

public interface TechLibFacade extends javax.ejb.EJBObject<BR>
{<BR>

// This business method must be promoted to the remote interface<BR>
public Vector getBookForPlatform(String workPlatform)<BR>
throws FinderException, java.rmi.RemoteException;<BR>
}<BR>

</p>

<h2>Chapter 6-Developing Stateful Session Bean</h2>
<p><b>Page 262</b>Near the middle of the page. Replace:</p>
<p>Work with Objects</p>
<B>by</B>
<p>Work with Contained Objects</p>


<h2>Chapter 6-Developing Stateful Session Bean</h2>
<p><b>Page 264</b>Near the middle of the page. Replace:</p>
<p>apress.wsad.testlib</p>
<B>by</B>
<p>apress.wsad.techlib</p>

<h2>Chapter 7- Understanding Stateless Web Session Development</h2>
<p><b>Page 288</b>On the whole page. Replace:</p>
<p>BookHelper</p>
<B>by</B>
<p>BookReegisterHelper</p>

<h2>Chapter 7-Understanding Stateless Web Session Development</h2>
<p><b>Page 291</b>Near the bottom of the page. Replace:</p>
<p>BookHelper</p>
<B>by</B>
<p>BookRegisterHelper</p>

<h2>Chapter 7-Understanding Stateless Web Session Development</h2>
<p><b>Page 293</b>At the top of the page. Replace:</p>
<p>On the next screen, select Request (you don't need Session here because this is one-screen processing). Replace:</p>
<B>by</B>
<p>On the next screen, ensure that Request is selected (you don't need Session here because this is one-screen processing).
Also, check the "Create a new front controller" box.</p>

<h2>Chapter 7-Working with WSAD-Generated Files</h2>
<p><b>Page 297</b>Picture 7-13. Replace:</p>
<p>BookHelper</p>
<B>by</B>
<p>BookRegisterHelper</p>


<h2>Chapter 7-Working with WSAD-Generated Files</h2>
<p><b>Page 298</b>In the middle of the page. Replace:</p>
<p>web.xmi:</p>
<B>by</B>
<p>web.xml</p>

<h2>Chapter 7-Adding the business logic</h2>
<p><b>Page 302</b>Listing 7-4. Add after: Listing 7-4. BookRegisterController.java Servlet.</p>
<p>NOTE. Dounload this listing from the APRESS web site. It has some important changes.</p>

<h2>Chapter 7-Developing the Stateful Web Session</h2>
<p><b>Page 336</b>In Table 7.1 Replace:</p>
<p>Windows NT/2000 02</p>
<B>by</B>
<p>Windows NT/2000 04</p>

<h2>Chapter 7-Developing the Stateful Web Session</h2>
<p><b>Page 336</b>At the top of the page. Replace:</p>
<p>Java Class</p>
<B>by</B>
<p>Java Source</p>

<h2>Chapter 7-Developing the Stateful Web Session</h2>
<p><b>Page 341</b>Close to the bottom of the page. Replace:</p>
<p>remote handle</p>
<B>by</B>
<p>local reference</p>

<h2>Chapter 7-Developing the Stateful Web Session</h2>
<p><b>Page 344</b>Close to the top of the page. Replace:</p>
<p>calls two private methods</p>
<B>by</B>
<p>calls two methods</p>

<h2>Chapter 7-Coding for the Remote Client View</h2>
<p><b>Page 357</b>Listing 7-13. Replace:</p>
<p>Listing 7-13. BookByPlatformHelperX.java</p>
<B>by</B>
<p>Listing 7-13. BookByPlatformHelperX.java. Note. Download this listing from the APRESS website</p>

</body>

</html>

</font>






15 changes: 15 additions & 0 deletions 841.html
@@ -0,0 +1,15 @@
Part I Getting Started with WebSphere Studio Application Developer (WSAD)<br />
Chapter 1: Introducing WSAD 5.0<br />
Chapter 2: Setting Up the Development Environment <br />
Chapter 3: Working with the WSAD 5.0 Workbench<br />
Chapter 4: Developing Database Applications <br />
Part II Working with J2EE: The Distributed Application Framework <br />
Chapter 5: J2EE Development <br />
Chapter 6: J2EE EJB Development <br />
Chapter 7: J2EE WEB Development <br />
Chapter 8: J2EE XML Development <br />
Part III Working with Enterprise Messaging <br />
Chapter 9: J2EE Enterprise Messaging <br />
Chapter 10: Using the WSAD-Embedded JMS Provider <br />
Chapter 11: Using WebSphere MQ as the JMS Provider<br />
Appendix: Deploying This Book's J2EE Application Examples
Binary file added 972.pdf
Binary file not shown.
Binary file added 973.pdf
Binary file not shown.
Binary file added 9781590591208.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,22 @@
=======================================================
Readme.txt
=======================================================

The downloadable file (1208-code.zip) is a compressed zip file.
It contains application examples discussed in the book.

The book documents are organized by chapters (sub-directories).

Chapters 6 and 7 share a common directory since all modules belong to the same Application project.

Chapters 10 and 11 share a common directory for the same reason.

Within each directory, you will typically find three folders:
Source - The source files.
Export - Exported application EAR files. EAR files include the source.
Server - Exported server projects as zip files.


NOTE. Sources can also be found within the corresponding EAR files.

Download and unzip the 1208-code.zip file. Use the file content when reading the book.
@@ -0,0 +1,2 @@
2003.05.01 13:43 A D:\Download\Book_Publishing_Documents\APRESS\APRESS_WEBSITE_FOR_BOOK\1208_ReadMe\ReadMe.txt --> ftp.apress.com /Livshin/1208_ReadMe ReadMe.txt
2003.05.01 13:45 A D:\Download\Book_Publishing_Documents\APRESS\APRESS_WEBSITE_FOR_BOOK\1208_ReadMe\1208-code-ReadMe.txt --> ftp.apress.com /Livshin 1208-code-ReadMe.txt
@@ -0,0 +1,43 @@
package apress.wsad.sample;

import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Date;


/**
* @author Igor Livshin
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public class HelloWorld
{

/**
* Constructor for HelloWorld.
*/
public HelloWorld()
{
super();
}

public static void main(String[] args)
{
Date today;
SimpleDateFormat sFormat;
String currentDate = "";

HelloWorld hwInstance = new HelloWorld();

today = new Date();

sFormat = new SimpleDateFormat("MM-dd-yyyy");
currentDate = sFormat.format(today);

System.out.println("Date: " + currentDate);
System.out.println("Hello World!");
}
}
Binary file not shown.

0 comments on commit 12feec4

Please sign in to comment.