![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
EJB
chenbinqq
这个作者很懒,什么都没留下…
展开
-
Ant的项目配置文件build.xml(使用jboss-4.2.3GA-jdk6.zip)
/*项目名称根据需要修改*/EJB_Project" basedir=".">原创 2013-04-29 12:01:02 · 1526 阅读 · 0 评论 -
JNDI访问参数设置(根据J2EE容器的不同而不同)
JBOSS:Properties props = new Properties();props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");props.setProperty("java.naming.provider.url", "localhost:1099原创 2013-04-27 15:52:00 · 763 阅读 · 0 评论 -
通过build.xml在Eclipse中导入工程
步骤如下:选择菜单File->New->Other…->Java->Java Project from Existing Ant Buildfile,如下图:在下一步的菜单中,选择Ant buildfile,如果没报错的话,Project name会自动填充上工程名称,点Finish按钮结束。在这过程中,有可能会报错:Specified buildfile does not转载 2013-04-27 18:39:57 · 5460 阅读 · 0 评论