B4J Question jHttpUtils2 HTTP Request in library

Keith Woodie

New Member
I am working on a project where I need to call a JSON based web service within a library. I have it working, but I am handling the JobDone portion of the code within the library. Is this the best way to do this? I want the UI project to import the library and use the objects I have defined to make the web service request without having to know anything about how the web service request actually works. Would this be a case for me to create an "event" within my library for the UI to process once the HTTP request finishes and is parsed?

New to B4J, but want to make sure I design something reusable for my UI.
 
Top