各位好,我刚接触JAVA,不知道现在的B/S模式中,用J2EE搭建一个ERP系统要怎么做!?呵呵,先说说你的这个问题:由于你的需求不知道,所以概述很难说清楚:)按照你的要求,可以简单的写两个字段:userName,passWord
如果使用:Eclipse是否看看使用LOMBOZ(或者还有XDocLet)具体的操作,还真的是要你自己来做了:)
在这里我还是建议你使用JB9以上为好,这样的话所有的环境都帮你搭建好了:)
如果使用:Eclipse是否看看使用LOMBOZ(或者还有XDocLet)具体的操作,还真的是要你自己来做了:)
在这里我还是建议你使用JB9以上为好,这样的话所有的环境都帮你搭建好了:)
http://blog.csdn.net/javamxj/archive/2005/01/13/251982.aspx
调试失败可以到这里发帖子提问
不好意思,实在没有搞过!
import javax.naming.*;
import javax.rmi.PortableRemoteObject;
import java.lang.Integer;
import java.lang.String;
import java.util.Properties;////////////////////////////////////////////////////
User1Remote user1Remote = null;
User1RemoteHome user1RemoteHome = null;
Context context = getInitialContext();
//look up jndi name
Object ref = context.lookup("User1");
//look up jndi name and cast to Home interface
user1RemoteHome = (User1RemoteHome) PortableRemoteObject.narrow(ref,
User1RemoteHome.class);
user1Remote = user1RemoteHome.findByPrimaryKey(id);
欢迎访问http://www.flashempire.com/home/1154303
欢迎加群10855748