The Artima Developer Community
Sponsored Link

Java Answers Forum
tel me is it right or wrong

2 replies on 1 page. Most recent reply: Mar 28, 2004 6:01 PM by shyamlal c.h

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
shyamlal c.h

Posts: 14
Nickname: blrboy
Registered: Dec, 2003

tel me is it right or wrong Posted: Mar 24, 2004 7:08 PM
Reply to this message Reply
Advertisement
hi friends

I am a beginner in the field of java.I hav litl knwledge abt jsp and servlets.But i am totally new 2 webservers.I have theory knowledge but no practical experience.I have started with Jboss.In the deploy folder i could find a jmx-console.war I have renamed it as a diff war file and put my class file within the web-inf/classes folder and modify the deployment descriptor.Its working fine with servlets as well as Jsp.I dont knw whether this is the correct way of deploying.I have heard that we have to create our war file and then deploy it which is not happening in this case.So plz tell is it the correct way...

smiles
shyam


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

depends on circumstances Posted: Mar 26, 2004 3:59 AM
Reply to this message Reply
Strictly speaking it's better to create a war file and then place that in the deploy folder. This would be favoured for software developed for use by others.

But if it's a small program for personal use, then there's nothing wrong with placing the class file directly within the web-inf/classes folder.

It all depends on the circumstances.

Adam

shyamlal c.h

Posts: 14
Nickname: blrboy
Registered: Dec, 2003

Re: depends on circumstances Posted: Mar 28, 2004 6:01 PM
Reply to this message Reply
Thanks adam 4 ur reply...
well i started working with jsp,servlets and ejb in the same fashion.4 ejb i made a jar file containing the ejb classes and put it in the deploy folder.Its working fine.I have seen j2ee server where there is an option 4 creating war file.Could u plz tel me how its been done in jboss

smiles
shyam

Flat View: This topic has 2 replies on 1 page
Topic: static util methods? Previous Topic   Next Topic Topic: Following the last line

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use