Reputation: 9 Worker
- Active Members
- Active Posts:
- 444 (0.18 per day)
- 15-May 08
- Profile Views:
- Last Active:
- May 02 2014 06:25 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 1 May 2014Ah.. I was under the impression of this being an urgent business project, and not a training exercise. gotcha.
Sorry I didn't make that clear.
I have managed to get the StatefulWebServiceManager into a small testing project. I had to add an external jar called jaxws-rt.2.2.5.jar, but iv run into some issues, getting the web service to provide wsdl. I am deploying to a Apache-tomee-plus-22.214.171.124 server.
I have two web services. BankAccount and Bank. from the examples I could find. Link provided here.
I am using eclipse and exporting a WAR file from my Dynamic web service project to my webapps folder of tomcat, then running tomcat via command line.
I only had experience creating Web services using an interface and an implementation class, so i'm not sure how to get two implementations into web services. In the stateless manner.
Posted 1 May 2014This ultimately comes down to learning, using existing tools to solve problems doesn't teach me anything. The example I gave was printing. Its not about the solution it's about how I get there.
I found that with JAX-WS RI I can create a stateful web service that solves my issue. The problem I have encountered is it uses StatefulWebServiceManager<T>. I don't know how to import this interface into my application to use it.
Posted 1 May 2014I am still unable to get this to work.
When a web service is called it is in its own bubble.
I need the web service to interact with a controller object. the relationship would be many web service instances to one controller instance.
I tried to use a Static class in the WebServiceImplementation but this is making a new static controller for each web service call.
Any information regarding this would be extremely helpful.
Posted 28 Apr 2014My current solution is to use a database and have the web service check for changes in the database, but with that I run into issues of speed, how often do I query the database for new data. and since I need printing to be fast I cant add a delay like 5 or 30 second before every check happens, because that will slow down the print process.
If there were events that I could subscribe too that watched for when a change happened to the database, that would give me immediate feedback without having to bombard the database with select statements.
Crazy idea.... Would a static class that is a part of the web service project work?
Posted 28 Apr 2014Thank you for your reply, I will look into using python to communicate with the server application and the web service.
In the past I had my web services send sql directly to a database. but for this solution printing speed is a must.
- Member Title:
- D.I.C Regular
- Age Unknown
- Birthday Unknown
- CANADA MUAHHAHAHAHA
- I like computers I like just sitting in front of a computer it just makes me happy back in the days when I had dial up I would sit in front of the computer for hours at a time waiting for my downloads to finish. I still do it today when downloading and when installing or loading stuff :D<br /><br />I LIKE GAMEZZZZZ OLD SCHOOL GAMEZ the EPICZZZ<br />1.Phantasy star 4 SEGA!!!!<br />2.Shining Force series SEGA!<br />3.Summon Knight sword craft series!<br />4.ALL MEGAMAN GAMES!<br />5.METROID ALL OF EM!<br /><br />I ALSO LIKE ANIME!!!!!!<br />I could name off like 100
- Years Programming:
- Programming Languages:
I have learned VB6
I am learning java
giuseppe105 hasn't added any friends yet.