• Post Reply Bookmark Topic Watch Topic
  • New Topic

Do I need war file?  RSS feed

 
William Barnes
Ranch Hand
Posts: 1049
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I only have a single servlet do I need to have a war file in my ear file? A co-worker tells me I need to put the jar file into a war file as there is no other way of providing a description of the servlet. The J2EE Tutorial at the sun site implies you can have a jar file without a war file.
 
William Barnes
Ranch Hand
Posts: 1049
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find some of the diagrams at the sun site misleading. The only way to attach a deployment descriptor to a jar file is by making it a war file. So I answered my own question.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!