[OFBiz] Dev - Delegators/Dispatcher

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Dev - Delegators/Dispatcher

Moses Immerman
Hi
I am planning to create a custom swing  GUI for Ofbiz. What would be the
easiest way of creating a instance of a delegator and dispatcher for a
running instance of ofbiz from a separate project?

Thanks
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Dev - Delegators/Dispatcher

David E. Jones

Probably best to use just a remote instance of the Service Engine  
dispatcher which you can pull from an OFBiz server through JNDI, and  
then call services as if they were local. If you need direct access  
to the database then you'd need to get an EE instance running, with  
all entity defs and everything local in the application. You might as  
well run a full instance of OFBiz with the GUI on top. For an example  
of that check out the POS app.

-David


On Nov 11, 2005, at 4:03 AM, Moses Immerman wrote:

> Hi
> I am planning to create a custom swing  GUI for Ofbiz. What would  
> be the
> easiest way of creating a instance of a delegator and dispatcher for a
> running instance of ofbiz from a separate project?
>
> Thanks
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Dev - Delegators/Dispatcher

Adam Heath-2
In reply to this post by Moses Immerman
On Fri, 11 Nov 2005, Moses Immerman wrote:

> Hi
> I am planning to create a custom swing  GUI for Ofbiz. What would be the
> easiest way of creating a instance of a delegator and dispatcher for a
> running instance of ofbiz from a separate project?

GenericDelgator delegator = GenericDelegator.getGenericDelegator("default");

Probably something similiar for dispatcher too.
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Dev - Delegators/Dispatcher

Si Chen-2
Look in the bshcontainer.bsh in our downloads page:
http://www.opensourcestrategies.com/ofbiz/downloads.php


Adam Heath wrote:

>On Fri, 11 Nov 2005, Moses Immerman wrote:
>
>  
>
>>Hi
>>I am planning to create a custom swing  GUI for Ofbiz. What would be the
>>easiest way of creating a instance of a delegator and dispatcher for a
>>running instance of ofbiz from a separate project?
>>    
>>
>
>GenericDelgator delegator = GenericDelegator.getGenericDelegator("default");
>
>Probably something similiar for dispatcher too.
>
>_______________________________________________
>Dev mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/dev
>
>  
>
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev