Last time, my friend asked me to do some research for changing our existing java application from a bat file into a windows service. He already try to done that, but the service always returning message something like “failed to start”.
So this is my quick tips to after i research for a while. (more…)
In this section, i will try to introduce “apache camel” which the powerful integration framework to build an ESB for your application.
The main feature that camel have is camel can give you an easy way to implement your integration application rules.
In this example, we will use :
Why my service always return a null pointer in quartz jobs? I was asked my self and try to do some research.
Finally, i know that the spring context and quartz was run as a different singleton context and start at the same time. That is why my service class always have a null value. Ok, now everything is clear for me. What i have to do now is injecting the service rather than made it auto wiring. (Auto wiring is also possible, you can read it at harinair blog) (more…)
Hi everyone, Today i want to share about my experienced using maven to create a lift project.
Honestly, when i wrote this article, i just want to start to using scala for my future development language(in short means i’m newbie in scala). I always consider to create my projects using maven (even i just want to do some research), so just type
and it will show you the list of all the archetype in maven remote repository.
At my previous reading, i learn that scala has it’s own framework(similar like Java and Spring) which call lift. So i choose number 64.
64: remote -> lift-archetype-sbt_2.8.1 (-)
but careful it is not always the same number at the future, because community is moving fast so perhaps the number will change later.
Wew.. it is a little bit frustrating from my last post about “consuming XML from RESTful Web Service using Jersey“, no one throwing any question for the null address return. But that is ok, what ever, i will continue this topic to make my reader got more understanding about JAXB marshaling and un-marshaling.
At my previous post, we was getting a null return from the AddressModel at PersonModel Class.
here is a review about the classes :
I remember when the first time of my experiment using jersey to consume a xml, it is f**king terrible. There so many obstacle and i think it is better to share the work around with everybody here so my bad experience will be a good experience for others.
Let’s have a step by step tutorial for this problem.