Showing posts with label Pom. Show all posts
Showing posts with label Pom. Show all posts

Tuesday, December 7, 2010

Excluding xerces/xercesImpl from your CXF project

I'm not sure how much time I spent trying to figure out why my new service was not working, if I followed the same steps I usually follow on all my past CXF apps;
The only difference was to include a new dependency which has more business logic.

Then comparing my last CXF project lib folder with my new one, I found xercesImpl*.jar was additional to my current project.
I just removed from my POM (added as exclusion from my new dependency) and Listo! my CXF Web Service is working as expected :D

Saturday, April 3, 2010

WebServices with CXF - Preparing Worskpace - POM

I'm going to use the perfect combination: Spring + Spring MVC + Hibernate + more fancy stuff The first step is creating my pom.xml, and there you go:

If you read carefully my POM, you'd found something interesting. Or maybe not. Whatever!

  • I grouped my Spring & Hibernate dependencies other external pom.xml, I know, I already explained that concept before
  • What's going on with that plug-in if we already have the database built? Interesting question, but "In the beginning there was nothing. Then JuCa said: I just want to write Code, and I'm almost done with my POJO's". Then based on my pojo's I could create the tables and it's relations-referential integrity and some indexes :D

How could I achieve that? So simple. Let's code our Pojos and then I'll explain this: Based on our DDL's let's code!!!