payara / Payara-Examples

Repository for Example Code to demonstrate Payara specific features
144 stars 177 forks source link

Is there an example of ...? #18

Closed dxxvi closed 8 years ago

dxxvi commented 8 years ago

I'd like to see an example using an embedded Payara with some resources already configured (e.g. a data source for an in-memory H2 database, a jms queue or topic) and it should be able to serve some static html pages.

smillidge commented 8 years ago

Thanks for the suggestion we will see what we can do

smillidge commented 8 years ago

Just added a Datasource example for Payara Micro where the datasource is defined in the web.xml and referenced in a servlet https://github.com/payara/Payara-Examples/tree/master/Payara-Micro/datasource-example