[wildfly-dev] Java EE 7 and WildFly

Arun Gupta arun.gupta at gmail.com
Wed Oct 30 06:33:34 EDT 2013


Thanks a lot!

Confirming that my simple sample with no <jta-data-source> in
persistence.xml is working as expected now.

What is the JDBC URL for the in-memory database ? I'd like the ability
to connect to it and view the data.

Arun

On Wed, Oct 30, 2013 at 1:29 AM, Scott Marlow <smarlow at redhat.com> wrote:
> The fix for WFLY-2212 (JPA will now default to the EE default DS) was merged
> this morning.
>
>
>
> On 10/28/2013 10:33 AM, Scott Marlow wrote:
>>
>> Arun,
>>
>> You might want to configure the JPA default datasource:
>>
>> <subsystem xmlns="urn:jboss:domain:jpa:1.1">
>> <jpa default-datasource="java:jboss/datasources/ExampleDS"
>> default-extended-persistence-inheritance="DEEP"/>
>> </subsystem>
>>
>> Also, https://github.com/arun-gupta/javaee7-samples/pull/32 can be
>> hacked around today (I didn't have a chance to update the pull request
>> yet).
>>
>> Scott
>>
>> On 10/27/2013 05:44 PM, Arun Gupta wrote:
>>>
>>> Hello there ...
>>>
>>> Some of you may know me but let me introduce myself. I've joined Red
>>> Hat as Director of Developer Advocacy last week and will be focusing
>>> on JBoss Middleware. Read more about introduction at:
>>>
>>> http://blog.arungupta.me/2013/10/farewell-from-oracle/
>>>
>>> I would love to engage with you in making the developer experience
>>> seamless for WildFly. I'm using a gmail id for now until my corporate
>>> email is properly configured but feel free to reach out to me if you
>>> have any questions.
>>>
>>> Now to the technical part. I've created a bunch of Java EE 7 samples at:
>>>
>>> http://github.com/arun-gupta/javaee7-samples
>>>
>>> Originally, these samples were built/run on GlassFish and now I'm
>>> trying to run them on WildFly. Some questions while I'm running these
>>> samples ..
>>>
>>> - Java EE 7 runtime require a database to be provisioned at runtime.
>>> GlassFish download comes bundled with JavaDB. What is the typical
>>> choice for WildFly developers ?
>>>
>>> - How is the default JDBC resource configured for this database ? What
>>> is the actual JDBC resource name ?
>>>
>>> - Are any RI from GlassFish are used in WildFly ? I'd like to
>>> understand where each of the JSR implementations in WildFly are coming
>>> from ?
>>>
>>> - How is a database associated with Batch RI configured for WildFly ?
>>>
>>> - I've seen some samples are not working as expected. These might be
>>> bugs either in sample or in WildFly. Should I file them in the issue
>>> tracker for further discussion or discuss first and then file ?
>>>
>>> Thanks
>>> Arun
>>>
>>>
>>
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>
>



-- 
Blog: http://blog.arungupta.me
Twitter: http://twitter.com/arungupta


More information about the wildfly-dev mailing list