Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.27 KB

README.md

File metadata and controls

48 lines (37 loc) · 2.27 KB

jersey-gson

Sample java web application with jersey and custom gson serialiation/deserialization to displays a list of users in a Datatables table. The application retrieves the users via Datatables ajax. User edits are submitted to the server and successful response is applied to the local data set in the browser. Long cell text will be truncated with an ellipsis.

Users can be added via a Bootstrap Modal dialog. Users are kept in memory and are not persisted.

The application tests demonstrate the use of Selenium automation for the addition of users and the use of jersey-client with gson.

The application can be run from the command line via:

mvn jetty:run

Maven is configured to autostart/autostop jetty for tests. Please halt any "mvn jetty:run" invocations before running the tests via:

mvn test

If you prefer Google Chrome, then install the ChromeDriver and:

mvn test -Dbrowser=chrome

Read about the project (from most recent to oldest):

  1. Jersey Client with Gson
  2. jersey-gson Content-Type Woes
  3. Autostart Jetty in Maven
  4. DataTables, Bootstrap and Text Overflow
  5. DataTables edit Locally
  6. jQuery Ajax and Selenium
  7. DataTables and Selenium
  8. Bootstrap Modals and Selenium
  9. DataTables ajax error handling
  10. DataTables Column Render
  11. Modal Dialog for Jersey, Gson and DataTables
  12. Jersey, Gson, DataTables