开发者

EJB client with Glassfish

开发者 https://www.devze.com 2023-03-03 16:18 出处:网络
I am learning EJB 3 with Glassfish 3. IDE is Eclipse. I want to write a standalone client test application outside of container. I need javaee.jar, appserv-rt.jar to compile. so I copy these jars from

I am learning EJB 3 with Glassfish 3. IDE is Eclipse. I want to write a standalone client test application outside of container. I need javaee.jar, appserv-rt.jar to compile. so I copy these jars from Glassfish lib dir, then I realize all files only contains maven pom file.

Questions

  1. where to download javaee.jar, appserv-rt.jar with implementation ?
  2. how to use maven to download it ?
  3. wh开发者_如何学JAVAere to downaload ejb maven artifacts ?


It sounds like you are having Maven installed, already. And you are also using it in some of your project. So, why not use maven to build your client project as well?

You can check your local maven repository for actual jars.

In case you are interested in exploring Netbeans, that comes with the first class maven plugin, which is just awesome.

Best place to look for Maven books/tutorials, Sonatype.


For Eclipse you just need the plugin m2eclipse via the marked place. For usage without it you have to install Maven from here. Maven will take care of your other questions.

0

精彩评论

暂无评论...
验证码 换一张
取 消