Title: RE: EJB deployment example?

in a standard web-app:
/ is your html-dir, and should hold any pages (jsp/html/text/ccs/etc) that you want to serve to the customer
  you can have any directory you want under this root, as long as its not called WEB-INF..
/WEB-INF/ is where you put your web.xml
/WEB-INF/classes/ is where you put your classes, such as Servlets and beans
/WEB-INF/lib/ is where you put your libraries, such as taglib.jar/hsql.jar etc

Thats it basically..
Of course you could have linked directories and all that, no point going into that, as the app server will think that they are located with your app..



> -----Original Message-----
> From: Jim Archer [mailto:[EMAIL PROTECTED]]
> Sent: den 24 augusti 2000 19:03
> To: Orion-Interest
> Subject: Re: EJB deployment example?
>
>
> He! Well, your of course right, and I sure don't need an
> example of an HTML
> file. I do need to know where in the directory structure I
> would put them,
> though. I have only seen excamples with servlets. For
> example, do they go
> in the same directopry as the servlets?
>
> Stuff like that. I didn't realize the deployer had a lot of
> flexability in
> this.
>
> Jim
>
>
> --On Thursday, August 24, 2000 5:44 AM -0400 "Joseph B. Ottinger"
> <[EMAIL PROTECTED]> wrote:
>
> > On Wed, 23 Aug 2000, Jim Archer wrote:
> >
> >> I don't fully understand the Orion primer either. In
> particular, I don't
> >> understand the directory structure. Does each servlet need its own
> >> directory?
> >
> > No.
> >
> >> I could really benefit from a more comprehensive guide to what goes
> >> where,  including stateless and statefull session beans,
> entity beans,
> >> and servlets  and regular HTML files...
> >
> > You don't ask for much, do you? :) Actually, it's very
> difficult to say
> > "what goes where" as the deployer has a lot of freedom to determine
> > that. So "it" goes "whereever you want it to." Another
> issue with this is
> > determining a single cohesive app that has all this yet is
> simple enough
> > for demonstration purposes (and isn't the ATM, which comes
> with Orion).
> >
> > Besides, do you REALLY want to see examples of HTML files?
> (I hear the web
> > is chock full of 'em. :)
> >
> >> If anyone knows of such a guide, I would appreciate it if you could
> >> refer  me to it...
> >>
> >> Thanks!
> >>
> >> Jim
> >>
> >> --On Wednesday, August 23, 2000 2:15 AM +1000 James Ho
> >> <[EMAIL PROTECTED]> wrote:
> >>
> >> > Hi all,
> >> >
> >> > Anyone has any EJB deployment examples apart from the
> orion primer?  I
> >> > don't fully understand the orion primer...One of the
> main questions is
> >> > "Where are the beans deployed?"  I saw the source code
> for the servlet
> >> > client that it is at "java:comp/env/ejb/HelloHome", but
> where is it
> >> > defined?
> >> >
> >> > Also, if I want to deployed my beans at some remote
> host, where do I
> >> > set that info?  I saw there is a jndi.properties files
> in the other
> >> > examples, how would I add that in the orion primer example?
> >> >
> >> > Thanks heaps
> >> >
> >> > James
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > -----------------------------------------------------------
> > Joseph B. Ottinger               [EMAIL PROTECTED]
> > http://cupid.suninternet.com/~joeo      HOMES.COM Developer
> >
>
>
>
>
>

Reply via email to