Sounds good. It is best to learn from many sources, so I suggest that you plan as such. A random and good starting point would be the
Apache Axis framework. Vist their web page and start to get a feel for how it works and make sure to purchase a few "printed books."
To learn how to write code that connects to a relational database,
you should study the
Java Database Connectivity API.
And welcome to the JavaRanch - A friendly place for Java Greenhorns!