Re: Using Jivan in a Barracuda App

David R Robison <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Do you have an example of what to set in the object-repository to use jivan?
David

Thelmo Loisio wrote:

>On Tue, 2003-11-18 at 15:03, David R Robison wrote:
>  
>
>>By the way... here is my code...
>>
>>		//get the XMLC object
>>		JivanDOMFactory domFactory = new JivanDOMFactory();
>>			domFactory.setServletContext(context.getConfig().getServletContext());
>>		Document page = domFactory.getInstance("/WEB-INF/jivan/SitePage.html");
>>    
>>
>
>I'm almost totally new to barracuda but ... I've never used that method
>of getting the DOMFactory... instead set the DefaultDOMLoader within
>object-repository.xml and get it as
>DefaultDOMLoader.getGlobalInstance()
>
>Then you can switch from one to another chaning the entry relative to
>dom factory within the object-repository.xml ... so restarting the apps
>change the factory in use...
>
>  
>

-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: [email protected]
web: http://openroadsconsulting.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.