[EXAMPLE] Generic Repository

2015-07-17 Thread MarvinToll
Yes... I know some consider a generic repository to be an anti-pattern.

[One person's duplicate code is another person's readable code.]

However, do we publish an example of using the Data Module with a generic
repository?



-
--
|  USA Cell: 248.866.4897
|  Email: mar...@gtcgroup.com
|  Web: http://MarvinToll.com
|  Skype: marvin.toll
--

--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/EXAMPLE-Generic-Repository-tp4661131.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


[DOCUMENTATION] Incorrect Link?

2015-07-14 Thread MarvinToll
On the following page:

https://deltaspike.apache.org/community.html#_mailing_lists 

The User List Nabble link appears to point to the DEV list rather than
the USER list.

Not sure if this is deliberate or not?



-
--
|  USA Cell: 248.866.4897
|  Email: mar...@gtcgroup.com
|  Web: http://MarvinToll.com
|  Skype: marvin.toll
--

--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/DOCUMENTATION-Incorrect-Link-tp4661077.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


Re: Scope of Entity Manager

2015-07-13 Thread MarvinToll
Gerhard,

Can I safely presume an elaboration of your message would be Worker Thread
Local?  [As opposed to Main ThreadLocal]

_Marvin


hi marvin,

when it comes to concurrency both are similar.
the request- as well as the transaction-context store instances in a
ThreadLocal variable/storage.

regards,
gerhard






--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Scope-of-Entity-Manager-tp4661043p4661055.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


Re: Scope of Entity Manager

2015-07-10 Thread MarvinToll
○ A couple of factors that we have been considering in making the decision
include:
1. Small data vs. large data [presumption that big data may benefit from
early de-referencing of the EntityManager L1 cache [UOW] )
2. Provisioning for multicore [presumption that @TransactionScoped 
might be
more useful... although having a hard time understanding if this matters in
the context of the DeltaSpike JPA abstraction?]

Any guidance?  Or more specifically, have you been doing any work/testing
with queries and multicore processing?

_Marvin


Akm,

@RequestScoped:
EntityManager is producing it as request scoped bean means that the
disposer method will be called on finishing the request.

@TransactionScoped:
Will be closed after leaving the method annotated with @Transactional.

That will depend on the your architecture, you can select what is better
for you.

On Fri, Jul 10, 2015 at 4:15 PM, akm lt;amehta5@gt; wrote:

 Does DeltaSpike have any recommendation on the the scope of the Entity
 Manager that will be used by the Repository?
 I have tried both the @RequestScoped and the @TransactionScoped and would
 like to know which DeltaSpike recommends and why.
 Thanks




--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Scope-of-Entity-Manager-tp4661043p4661048.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


Re: [MARKETING] LinkedIn Group

2015-07-08 Thread MarvinToll
The good news is that we are starting to get some traffic on our new LinkedIn
group site.  The other news is that there are a couple of inquiries that are
growing stale.

[I'm clearly not in a position to carry the DeltaSpike flag yet... hope to
be more informed a year from now and able to field some of these questions! 
]

https://www.linkedin.com/grp/home?gid=6979265
https://www.linkedin.com/grp/home?gid=6979265   

 



--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/MARKETING-LinkedIn-Group-tp4660955p4661017.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


Re: [MARKETING] LinkedIn Group

2015-07-01 Thread MarvinToll
Gerhard let me know that some are interested in helping to moderate the new
LinkedIn group... which is great!

If you have not moderated a LinkedIn group before... it is not
challenging... although you must have a LinkedIn account and already be
member of the group.

Please contact Marvin Toll on LinkedIn and let me know you are interested in
being a moderator.

_Marvin


MarvinToll wrote
 A new LinkedIn group has been started for Apache DeltaSpike:
 https://www.linkedin.com/grp/home?gid=6979265
 https://www.linkedin.com/grp/home?gid=6979265  
 
 Consider joining this group and helping mentor a growing DeltaSpike
 community.
 
 _Marvin Toll





--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/MARKETING-LinkedIn-Group-tp4660955p4660981.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


[MARKETING] LinkedIn Group

2015-06-28 Thread MarvinToll
A new LinkedIn group has been started for Apache DeltaSpike:
https://www.linkedin.com/grp/home?gid=6979265
https://www.linkedin.com/grp/home?gid=6979265  Consider joining this group
and helping mentor a growing DeltaSpike community._Marvin Toll  



--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/MARKETING-LinkedIn-Group-tp4660955.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.


Re: [MARKETING] LinkedIn Group

2015-06-28 Thread MarvinToll
By the way.. it would be great if the typo on the home page could be fixed...
it has been incorrect for many months:

In 2014, DeltaSpike become a Duke’s Choice Award winner.

Should read:

In 2014, DeltaSpike became a Duke’s Choice Award winner.



--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/MARKETING-LinkedIn-Group-tp4660955p4660959.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.