aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes how to create jar, war and ear files to deploy EJB component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to create jar, war and ear files to deploy EJB component " Watch "how to create jar, war and ear files to deploy EJB component " New topic
Author

how to create jar, war and ear files to deploy EJB component

Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 56
Hi Experts ! I'm new to ejb... I just want to know the complete directory structure and then command prompt syntax for creating jar,ear files to deploy those EJB components on app server. I'm using Sun Java App Server. And also tell any tool if available from sun application server.

A sort description for which component where to put in which directory..... pleazzzzzzz

Thanks in advance....
Michal Nalewajko
Greenhorn

Joined: Mar 07, 2013
Posts: 7
Hi,

here you have the template for each type of package with example files:






Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 56
Hi Michal ! Thanks for this directory structure, it was very helpful for me ....

I also want the command prompt syntax to create "war" , "jar" and "ear" files... specially for EJB components....

Please help me.....
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29249
    
139

War and Ear files are just jar files in a specific format with a specific extension. So the command line is jar -cvf ...

It may be easier to use Ant rather than do this at the command line though so you don't have to keep writing the same commands.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 56
Hi Jeanne ! ... here is the actual confusion...
please tell me the complete command using the above directory structure to create an ear file....

and thanks for previous post...
Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 56
Any one help me please ...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create jar, war and ear files to deploy EJB component
 
Similar Threads
Can JMX Access EAR files instead of JARs?
New to JBoss
Hot Deploy with Weblogic 8.1
Sun App Server
where can i put servlet/jsp files in SUN ONE