On Thu, 23 Sep 2004 20:01:46 -0600, Bill Winspur <[EMAIL PROTECTED]>
wrote:

> To this point, I have been working with OXF by directly editing the  
> exploded application files and directories in tomcat's webapps  
> directory, because I did not want to clutter my problem space with  
> ignorance about how to use a new (to me) plugin.
>
> <>
> Now that I have the core of my OXF app working on tomcat, I am trying to  
> migrate the app into eclipse for the rest of the development cycle, but  
> am having some difficulties figuring out how to use Studio in eclipse<>
> *
> Questions:*
>
> 1. What is distinctive about a project created as an OXF project,  
>    compared with non-OXF projects.

a.) When you start the selected J2EE Container the relevant container
    plugin makes sure it is configured so that your project
    files are considered deployed.  e.g. In the case of
    tomcat the server.xml is modified accordingly.

    At the moment the only container plugin is the that provides
    support for the Tomcat that comes with Eclipse.

b.) An option for specifying a servlet context is added to
    the project.

c.) In the browser view ( by default found in the OXF Monitor
    Perspective ) in the 'Go' dropdown on the toolbar menu items
    are added for each OXF Project.

Btw the OXF projects are also Java projects.

>
> 2. How does one deploy a web app from a project created as an OXF  
>    project ?

   There isn't much in the way of 'real' deployment support.  i.e.
   There isn't support to push files out to servers.

   What it can do is dump the project into a .war file.

>
> 3. If studio is expected to be complemented by capabilities of other  
> eclipse plugins, what are the capabilities studio does not provide ?

  At the moment it's main strength is it's ability to monitor the
  debug outputs.

  The other features are only developed enough so that someone could
  just grab studio and begin playing with the Presentation
  Server.  ( As opposed to setting up an app server, messing around
  with deployment, etc )

>
> <>
> 4. Using the /full studio download, /one gets the impression that Studio  
> uses eclipse merely as its application framework rather than as a  
> workbench containing other tools. <> However, Studio can be used as one  
> of many plugin tools. In this case, can it support use of the <debug/>  
> element in pipelines that execute on any application server ?
>

Yes.  

FWIW here is some explanation on how this works :
o The Presentation Server loads log4j and configures it with
  the log4j.xml named in properties.xml.  e.g. 'oxf:/config/log4j.xml'

o Each time it encounters a debug attrib in a .xpl file it generates
  a log message.

o When the Log Event view is open in Studio ( stand alone or 
  plugin ) it scans ( and then monitors ) the log4j.xml files
  in your workspace.  If it sees a SocketAppender, SocketReceiver,
  or SocketHubAppender declaration it creates the apropriate 
  server socket or socket connection.

So as long as the config files Studio and Presentation Server
are the same ( or at least complementary ) everything 
should just work.  ( Barring firewalls etc. )


-- Regards, Dan S


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to