Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ProlificsPanther authored Apr 27, 2020
1 parent 3ecc925 commit ff40330
Showing 1 changed file with 3 additions and 39 deletions.
42 changes: 3 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,10 @@
# RestfulAPI
# RestAPI
Panther screens data is returned in a JSON format by which a data table is created.

# Prerequisite:
* Panther Web Application/Panther 5.5*
* Apache Web Server
How to reach different branches, click on Branches on the above table head which will be present on the left.

# Contents of the demo:
* Demo.jsp
* datatabl.js
* dataTables.editor.js
* dataTables.editor.min.js
* editable.css
* customer
* customer.html
* videobiz (jdb database)
* connect.jpl (SMINITJPL)

# Demo.jsp
This JSP file contains a "Customer Details" button, When clicked, it returns a bootstrap data table based on the JavaScript function in datatabl.js.

# Datatabl.js
Contains AJAX calls for GET, PUT, DELETE and POST to the Panther web application.

# dataTables.editor.js & dataTables.editor.min.js
The latest files can be downloaded from the link (https://editor.datatables.net/download/) you need to have these for the dataTable actions. The trail version which you will get will expire in 15 days.

# editable.css
CSS for dataTables

# customer
Panther client screen containing JPL code which calls the Java class "JsonUtils" (You can find this Java class and the required external jars with Panther552/samples/auth0/jsonUtils). It also manages the REST calls and performs their respective operations.

# customer.html
Contains a raw Multi Line Text field tag, which has the JSON formatted data.

# videobiz
This database comes with our panther product (/SMBASE/samples/vidstore) , this is used as the working database for CRUD operations.

# connect.jpl
This is SMINITJPL file in your .ini file which has the connection string jpl to your database.

Video Tutorial: https://www.youtube.com/watch?v=l_tvjs7N83w contains details of the demo.
![](REST.png)

Need a Panther Web 552 Redhat Image? [Click Here](https://hub.docker.com/r/prolificspanther/pantherweb)

Expand Down

0 comments on commit ff40330

Please sign in to comment.