JavaEE 8 introduction
Tosan
October 2021
Amin Arab
Session 4
http://localhost:7001/rest/hsports/api/car/sample [POST]
http://localhost:7001/rest/hsports/api/car/1 GET , DELETE
http://localhost:7001/rest/hsports/api/car/all
http://localhost:7001/rest/hsports/api/car/update
• Change Relation
• {"id":1,"model":"audi","document":{"productionYear":1293741000000},"insurances":[{"issue
Date":1325277000000},{"issueDate":1325277000000}],"owners":[{"name":"Behzad"},{"name
":"Saman"}]}
• Change Car Model
• {"id":1,"model":"AUDI","document":{"id":16,"productionYear":1293741000000},"owners":[{"
id":20,"name":"Saman"},{"id":19,"name":"Behzad"}]}
http://localhost:7001/rest/hsports/api/car/findByValidLicence
http://localhost:7001/rest/hsports/api/car/findByOwnerName?name=Saman
http://localhost:7001/rest/hsports/api/car/findByProductionYear/2020
• Weblogic Configurations
• JEESampleJMSServer
• JEESampleJMSModule
• ir/amin/jeesamples/cf
• ir/amin/jeesamples/dq
• ir/amin/jeesamples/dt
• http://localhost:7001/rest/hsports/api/jms/Send?name=amin
JTA
http://localhost:7001/rest/hsports/api/jta/jtaMethods?type=MANDATORY
Other APIs
• JSON-B
• JSON-P
Task
• Post Item
• Receiver phone , Sender phone , Label , Type (Package , Letter)
• Send receive message for item to post queue
• Find packages
• Generate UUID for packages
• Send deliver message for items to deliver queue
• Expire Date Message Job
• Generate return message after month to receiver
Appendix
• https://github.com/aminarab/JavaEE-8
• https://mvnrepository.com/artifact/javax
• http://www.corej2eepatterns.com/
• Weblogic JMS Configuration
• https://www.youtube.com/watch?v=T4HVQXVWUic&t=301s

Session 4