GeoServer Manager is a library to interact with GeoServer 2.x. I want to use it. but I didn't find any appropriate documentation for it. Can anyone help me by some tutorial or example?

here is a few examples : geo-solutions examples for geoserver manager
GeoServer-Manager wiki on GitHub: here
For example I want to add a new WFS layer into a certain workspace of geoserver. suppose I have a shafefile(.shp) and I want to add it into geoserver by geoserver-manager. How can I do that? here is the initial code:

String RESTURL  = "http://localhost:8080/geoserver";
String RESTUSER = "admin";
String RESTPW   = "geoserver";

GeoServerRESTReader reader = new GeoServerRESTReader(RESTURL, RESTUSER, RESTPW);
GeoServerRESTPublisher publisher = new GeoServerRESTPublisher(RESTURL, RESTUSER, RESTPW);

closed as too broad by BradHards, PolyGeo Nov 24 '14 at 7:16

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Did you find the javadoc? You already have the examples and wiki. Can you ask a more specific question about it, rather than "some web link"? – BradHards Nov 24 '14 at 6:37
  • I want this question to be a source for accessing geoserver-manager tutorials. – Dariush Nov 24 '14 at 6:39
  • A question isn't meant to be a link-fest... – BradHards Nov 24 '14 at 6:41
  • 1
    I recommend using the links in your question, and then if you get stuck, write up precisely what you are trying to do and where you are stuck as a more focussed question. Another tip is that help with code is usually more forthcoming when you show where you are stuck in a code snippet of your own. – PolyGeo Nov 24 '14 at 7:20
  • 1
    You still haven't told us what the problem is. You've copied some code, but not tried it yourself. You haven't shown an error message. – BradHards Nov 25 '14 at 19:48