archive-se.com » SE » S » SAWANO.SE

Total: 50

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1359400666128 (2016-05-02)
    Open archived version from archive


  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1360592280339 (2016-05-02)
    Open archived version from archive

  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1422487571029 (2016-05-02)
    Open archived version from archive

  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1360486524079 (2016-05-02)
    Open archived version from archive

  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1360592534709 (2016-05-02)
    Open archived version from archive

  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1361226867473 (2016-05-02)
    Open archived version from archive

  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1363616214151 (2016-05-02)
    Open archived version from archive

  • sôft'wâr': Combining JSON and XML in RESTful web services with Spring MVC
    Running the code There are three integrations tests included in the source code in RESTControllerTestIT java that you can use to see how it all works To see it in action use mvn verify This will launch a Jetty instance deploy the webapp run the tests and then shut down the Jetty Or if you prefer to run the tests individually start and deploy with mvn jetty run and then run the tests as ordinary JUnit tests Now go ahead and browse the source code or get it as a zip I hope this post have helped to show you how simple it is to get support for both JSON and XML in web services using Spring MVC Posted by Daniel Sawano Email This BlogThis Share to Twitter Share to Facebook Share to Pinterest Labels Jackson Java JAXB JSON REST RESTful Spring Spring MVC XML 18 comments Anonymous 30 May 2012 08 51 Great post I spent my whole day struggling with this yesterday all I needed to do was to switch to Spring 3 1 and remove all the crap from the XML descriptor Thanks Julien Reply Delete Replies Daniel Sawano 30 May 2012 11 28 Thanks Glad you found it helpful Julien Delete Reply Anonymous 21 June 2012 08 04 Thank you very much Daniel This post helped me greatly Reply Delete Anonymous 06 July 2012 09 37 What if you need a list of users how would you do it Thanks Reply Delete Replies Daniel Sawano 13 July 2012 07 19 You would typically have to put it in an object containing the list of users Like a transfer object Delete Reply Hoser 10 July 2012 16 27 Awesome it felt good to rip out all that extra config that was not needed Reply Delete Replies Daniel Sawano 13 July 2012 07 23 Hi Hoser yes the configuration does gets a lot cleaner Delete Reply Anonymous 26 September 2012 07 51 Thank you for your post much appreciated Will help kick off a new project cleanly Reply Delete Anonymous 28 January 2013 11 17 I worked on this one its seems straight But somehow I test in jetty plugin for maven i get following response curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application xml html head meta http equiv Content Type content text html charset ISO 8859 1 title Error 406 NOT ACCEPTABLE title head body h2 HTTP ERROR 406 h2 pre NOT ACCEPTABLE pre p RequestURI fxaip core server app ref currency currency INR p p i small a href http jetty mortbay org Powered by Jetty a small i p br br br br br br br br br br br br br br br br br br br br body html curl http localhost 8080 fxaip core server app ref currency currency INR HAccept application json value India Rupee id 0 code INR Reply Delete Replies Daniel Sawano 11 February 2013 06 18 Hi Both curl http localhost

    Original URL path: http://software.sawano.se/2012/03/combining-json-and-xml-in-restful-web.html?showComment=1370184966835 (2016-05-02)
    Open archived version from archive