I am trying to make SAR MBean with Eclipse. I take a "new SAR Project" in "New" option. The project is created but I don't know how to enclose additional jars that will get exported togerther with the whole SAR archive when I export it.
Eclipse isn't really equipped to do complex builds. It leaves that job for Maven and Ant.
Although I'm not really sure that even if it did do what you want that it would give you what you want. Which is to say that I don't think that the embedded JARs will be accessible from the SAR's classpath. Without special classloaders, jars inside of jars normally aren't.
An IDE is no substitute for an Intelligent Developer.
Joined: Feb 05, 2012
I have seen a few examples of such SARs with JAR's inside on web without classloader. Even Hibernate documentation mention about such project.
I can do it with Winrar but I was expecting that Eclipse has this capability.