
JAVA学习笔记
文章平均质量分 65
csdnroot
这个作者很懒,什么都没留下…
展开
-
数组的复制。
arraycopy System 类中的 arraycopy 方法的使用。语法: System.arraycopy(from, fromIndex, to, toindex, count); public class java { public static void main(String[] args) { int[] small原创 2005-03-19 13:42:00 · 1122 阅读 · 1 评论 -
AccountPK.java
package examples;import java.io.Serializable;/** * Primary Key class for Account. */public class AccountPK implements java.io.Serializable { public String accountID; public AccountPK(String id原创 2006-03-07 22:22:00 · 591 阅读 · 0 评论 -
cmp-Product.java
package examples; import javax.ejb.*;import java.rmi.RemoteException; /** * These are the public business methods of ProductBean. * * This interface is what clients operate on when the原创 2006-03-07 22:23:00 · 706 阅读 · 0 评论 -
cmp-ProductBean.java
package examples; import javax.ejb.*; /** * Entity Bean which demonstrates Container-Managed persistence. * * This is a product thats persistent. It has an ID #, a name, * a descript原创 2006-03-07 22:38:00 · 679 阅读 · 0 评论 -
AccountException.java
package examples; /** * Exceptions thrown by Accounts */public class AccountException extends Exception { public AccountException() { super(); } public AccountException(Except原创 2006-03-07 22:18:00 · 1025 阅读 · 0 评论 -
AccountHome.java
package examples;import javax.ejb.*;import java.util.Collection;import java.rmi.RemoteException;/** * This is the home interface for Account. This * interface is implemented by the EJB container原创 2006-03-07 22:19:00 · 797 阅读 · 0 评论 -
cmp-ProductHome.java
package examples; import javax.ejb.*;import java.rmi.RemoteException;import java.util.Collection; /** * This is the home interface for Product. This interface * is implemented by the原创 2006-03-07 22:40:00 · 634 阅读 · 0 评论 -
cmp-ProductPK.java
package examples; import java.io.Serializable; /** * Primary Key class for our Product Container-Managed * Entity Bean */public class ProductPK implements java.io.Serializable {原创 2006-03-07 22:41:00 · 649 阅读 · 0 评论 -
bmp-ejb-jar.xml
Account examples.AccountHome examples.Account examples.AccountLocalHome examples.AccountLocal examples.AccountBean Bean examples.AccountPK False jdbc/ejbPool javax原创 2006-03-07 22:43:00 · 898 阅读 · 0 评论 -
AccountClient.java
package examples;import javax.ejb.*;import javax.naming.*;import java.rmi.*;import javax.rmi.*;import java.util.*;/** * Sample client code which manipulates a Bank Account Entity Bean. */public cl原创 2006-03-07 22:16:00 · 590 阅读 · 0 评论 -
AccountBean.java
package examples;import java.sql.*;import javax.naming.*;import javax.ejb.*;import java.util.*;/** * Demonstration Bean-Managed Persistent Entity Bean. * This Entity Bean represents a Bank Account原创 2006-03-07 22:01:00 · 1516 阅读 · 0 评论 -
cmp-weblogic-ejb-jar.xml
http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd" > Product 1000 WebLogic_CMP_RDBMS 6.0 MET原创 2006-03-07 22:48:00 · 1149 阅读 · 0 评论 -
FileInputStream and FileOutputStream
import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;public class FileTest { /** * @param args * @throws IOException */ public static void m原创 2005-08-14 21:56:00 · 950 阅读 · 0 评论 -
AccountLocal.java
package examples;import javax.ejb.*;/** * This is the local interface for AccountBean. * * This interface is what clients operate on when they interact with * beans. The container will implement t原创 2006-03-07 22:20:00 · 554 阅读 · 0 评论 -
cmp-ejb-jar.xml
http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"> Product examples.ProductHome examples.Product examples.ProductBean Container java.lang.String False原创 2006-03-07 22:42:00 · 747 阅读 · 0 评论 -
weblogic-cmp-rdbms-jar.xml
-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN http://www.bea.com/servers/wls600/dtd/weblogic-rdbms-persistence.dtd> Product ejbPool Products name原创 2006-03-07 22:49:00 · 1156 阅读 · 0 评论 -
Account.java
package examples;import javax.ejb.*;import java.rmi.RemoteException;/** * This is the remote interface for AccountBean. * * This interface is what clients operate on when they interact with * bean原创 2006-03-07 22:00:00 · 814 阅读 · 0 评论 -
AccountClient.java
package examples;import javax.ejb.*;import javax.naming.*;import java.rmi.*;import javax.rmi.*;import java.util.*;/** * Sample client code which manipulates a Bank Account Entity Bean. */public cl原创 2006-03-07 22:02:00 · 571 阅读 · 0 评论 -
AccountLocalHome.java
package examples;import javax.ejb.*;import java.util.Collection;/** * This is the local home interface for Account. This * interface is implemented by the EJB containers tools - the * implemente原创 2006-03-07 22:21:00 · 583 阅读 · 0 评论 -
cmp-ProductClient.java
package examples; import javax.ejb.*;import javax.naming.*;import java.rmi.*;import java.util.*; /** * Client test application on a Container-Managed Entity Bean, Product. */public原创 2006-03-07 22:39:00 · 655 阅读 · 0 评论 -
bmp-weblogic-ejb-jar.xml
Account 100 jdbc/ejbPool ejbPool AccountHome AccountLocalHome原创 2006-03-07 22:47:00 · 1196 阅读 · 0 评论