Hi,
The static findEntity methods required by RequestFactory in 2.1.0 seem
to prevent looking up JNDI resources?
I am not using a normal persistence layer in my JEE server side code,
and instead need to access a JNDI resource and marshal my entity
objects without the aid of JPA or JDO.
So I need to do something such as:
new InitialContext().lookup("jndi/path")
and operate on the resource.
I have seen in the Wiki (
http://code.google.com/p/google-web-toolkit/
wiki/RequestFactory_2_1_1) and issue 5111 (
http://code.google.com/p/
google-web-toolkit/issues/detail?id=5111) that there are plans to
allow a "ReflectiveServiceLayer", and I'm assuming that will allow
something like the above?
(more preferably allowing use of @Inject or other such CDI goodness?)
If anything I'm putting this out there in the hopes there's a better
way, or that at least it's considered within the upcoming design of
RequestFactory in 2.1.1
Thanks,
-- Cory