Saturday, March 21, 2015

Android (8) aws (2) bitbucket (1) Cassandra (15) Connection Pool (3) eclipse (4) GAE (7) git (5) gi


This time around because of work demands, trying electric run to use some old code written JAX-RS, so as to reduce the complexity of the old code. But ... it seems that not much was found after assessment simplify, had to give up directly. Even so, there are a lot of harvest JAX-RS in the study process, electric run so put it down to prepare for future contingencies. JAX-RS electric run is what the stuff, you can refer to this slide, after reading the complete concept will be used to complete the JAX-RS and Jersey RESTful Web Services from javatwo2011 JAX-RS as a real family can find many election, my Select Yes Jersey, vote for it because I know all the big wet masters have praised electric run it, so I decided that it ... XD Restful application area currently I know they can be divided into two kinds of Restful Web Service Restful Web Application This In fact, only the difference between the two is that the latter is applied electric run to the Restful URI web application only, purely on different applications, in fact technically the same. Jersey Quickstart file, you can refer to the following parts here, there is a way to write after reading Restful Web Service electric run REST with Java (JAX-RS) using Jersey - Tutorial using Jersey and Apache Tomcat building RESTful Web services using Jersey If you want to write Restful Web Application, then the following is a reference document. Simple Jersey / REST and JSP based Web Application Jersey looking for information on the time, but also think if Spring, how real it is for Restful. File was found is this, who are interested can refer to. Use Spring 3 to create electric run RESTful Web Services in official documents, Jersey is divided into 1.x 2.x with files, they need to pick the version of view. If you want to do in-depth application Jersey, these files look better obediently. Jersey electric run 1.17 User Guide Jersey 2.2 User Guide Finally, here to mention the use of Jersey's children a place to note to note Jersey type of information do not return, if the return value is int, you may encounter some problems. Stackoverflow has a discussion, you can go and see previous solution. There Jersey with 2.x version 1.x, two versions of the small differences in general use, but the version 2.x is the minimum requirement "Java 6 + Servlet 2.5", if your Servlet container is too old, it is recommended like with the 1.x version. If there is no special needs, in fact, with the 1.x version had enough and more than enough white mice, which probably stepped on mines are being stepped over. Jersey 1.x 2.x with the API changes in place, you can refer to the official documents. I looked under the rough, change Server API to simply use Jersey who should have little effect, but the effect of changes in the Client API big, useful person to go to pay attention to differences between the old and new.
Android (8) aws (2) bitbucket (1) Cassandra (15) Connection Pool (3) eclipse (4) GAE (7) git (5) github (2) guava (2) java (20) JavaScript (1) jax -rs (1) jersey (1) Jetty (2) jQuery (1) linux (1) Nexus7 (1) notepad plus plus (1) OAuth2 (1) OLAP (1) Python (1) Remote Control (2) router ( 1) selenium (1) ssh (2) switch (1) tomato (1) Tomcat (1) windows7 (2) Oh ~ steel Pula (28) mood Notepad (95) defeated ~ Prodigal friends (47) version control system ( 3) programming languages (133) A kill is not Lu (66) film, theater (20)
2015 (2) February (2) 2014 (6) December (1) October (1) September (1) May (1) February (2) 2013 ( 13) December (1) September (2) New Nexus 7 (Nexus 7 2 generations) (Nexus 7 2013) Memo Jersey electric run bookkeeping experience notes August (1) June (1) May (1) March (2) February (3) January (2) 2012 (18) November (2) October (1) September (1) August (4 ) July (2) March (1) February (3) January (4) 2011 (25) December (8) November (5) October (3) September (3) August (4) July (1) May (1) 2010 (7) October (2) September (1) August (1) March (2) January (1) 2009 (6) August (1) May (1) April (1) March (2) February (1) 2008 (11) October (1) July (1) May (1) April (2) March (1) February (1) January (4) 2007 (49) December (3) November (3) October (4) September (4) August (1) July (4) June (1) May (11) April ( 3) March (3) February (2) January (10) 2006 (83) December electric run (9) November (4) October (3) September (1 ) August (11) July (2) June (7) May (8) April (11) March (11) February (7) January (9) 2005 (162) December (15) November (8) October (8) September (7) August (5) July (10) June (5) five May (9) April (12) March (17) February (18) January (48) 2004 (22) December (22)


No comments:

Post a Comment