• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Differecce

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends,


Please explain in brief.

What is the differences between .jar,.war and .ear files with examples.

waiting for you are replay.
 
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The .jar file can contain any java clasess.For example JDBC driver contains class in .jar file.
The .war is actually web archive file which can contain class files and mainly jsp and servlet files.
The .ear is enterprise archive file which can contain class files,jsp,servlet and mainly class files for EJB.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Krishna,

Please don't think I'm picking on you, but there are a few things that would be better changed about your post:

  • Please use a descriptive subject line. "Difference" doesn't tell us anything. How about "Difference between .*ar file suffixes"?
  • This is a forum dedicated to discussions about the Struts Framework. While Struts does use these files, so do all web applications. Therefore, this question would be better asked in a forum for all web applications such as "JSP" or Servlet"
  • This sounds a lot like an exam or homework question. Most of us don't mind helping out, but we're not really interested in doing someone else's homework for them. Even so, you'll have a better chance of getting a response if you show that you've already done some work on the problem but still have questions or concerns. Why not tell what you do understand about these files, and then ask about what you don't understand?

  • [ March 31, 2008: Message edited by: Merrill Higginson ]
     
    Krishna Tota
    Ranch Hand
    Posts: 40
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Ok Merrill next time onwards i will post in detail.
     
    Krishna Tota
    Ranch Hand
    Posts: 40
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks for your advise.

    Please help me for this.

    which is we usually use for goining from one module to another.

    Folliwing are the choices.

    SwitchAction class
    (or)
    html:link tag
    (or)
    any other.


    Pleasr give me the solution in brief with example.

    Thank you,
    Krishna
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic