[OFBiz] Users - Trouble getting started
Shon Schetnan
shon.schetnan at scansource.com
Wed Sep 15 09:26:30 EDT 2004
Andy,
Thanks for your reply!
I have been able to get the application up and running and have been able to use the administration applications etc. What I am trying to figure out is how to talk to the OFB services from the outside world. Just for example, lets say I build a Swing client to manage products and I want to use the OFB services to actually do the backend work. How do I communicate with the services from the Swing client? That is what I am trying to figure out.
I hope this is clearer than my previous question.
Thanks,
Shon
-----Original Message-----
From: users-bounces at lists.ofbiz.org [mailto:users-bounces at lists.ofbiz.org] On Behalf Of A. Zeneski
Sent: Tuesday, September 14, 2004 4:14 PM
To: OFBiz Users / Usage
Subject: Re: [OFBiz] Users - Trouble getting started
Running java -jar ofbiz.jar will get you started. The startup program
will load all the classes and make sure all the required properties
files are on the classpath. Otherwise you will need to trace them all
down and make sure they are available.
Run java -jar ofbiz.jar -pos to run a standalone POS application.
Again, it uses the startup classes to make sure everything is loaded
properly. There are so many libraries and configuration files it is a
royal pain to try to do this manually. Of course, it is possible.
-Andy
On Sep 14, 2004, at 4:42 PM, Shon Schetnan wrote:
> Hello,
>
> I am evaluating OFB as a possible solution for a project of ours. I
> am trying to get a handle on how to work with it.
>
> What I am trying to do is the following:
>
> Create a test class that is not a web application and talks to the
> service framework and makes a service call. I tried the following
> code to get ahold of the GenericDelegator class and I get an
> exception. I stepped through the code and it looks like the problem
> is that the debug.properties file cannot be loaded and eventually
> causes a nullpointer exception.
>
> GenericDelegator delegator =
> GenericDelegator.getGenericDelegator("default");
> LocalDispatcher dispatcher = new
> GenericDispatcher("UniqueName",delegator);
>
> Can someone give me some advice on how to talk to the OFB services
> within a standalone application?
>
> Much appreciated!
>
> Shon
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
More information about the Users
mailing list