Hi all.
I ask for know if it is possible the following configuration:
I write a web app like a war or ear .
i would write also a swing client remote that call the ejb and create new
instance of entity . So for resolve the problem of entity eahnched i would
create the entity class eahnched
You can create a persistence.xml in your WEB-INF folder and reference jar
files in your WEB-INF/lib using the jar-files element. I normally put jar
files into WEB-INF/lib and put persistence.xml in /META-INF of those jar
files.
You could create a remote ejb interface and pass your entity classes
A example of use of jar-file elements ?
Il giorno 24/feb/2014 13.03, Anthony Fryer [via OpenEJB]
ml-node+s979440n466795...@n4.nabble.com ha scritto:
You can create a persistence.xml in your WEB-INF folder and reference jar
files in your WEB-INF/lib using the jar-files element. I normally put
Gents
I have to bring this up, I know its been talked about before, but the
logging in tomee is 'strange' to say the least. How difficult would it be
to have slf4j as the default logger?
Ron
I Haven't Lost My Mind - It's Backed Up On Disk Somewhere
Finally got to the bottom of this. Seems that a @WebFault class had a member
reference to an instance of itself which sent the CXF recursive. Since we
down seem to need this WebFault (its not thrown across web service - I think
we can just eliminate it.
Thx
--
View this message in context:
Can you post the code for your resource?
On Mon, Feb 24, 2014 at 2:05 PM, José Luis Cetina maxtorz...@gmail.com wrote:
Hi, im doing my first rest service. Im having problem's with retrieving the
json data, when my method is called i get an:
WARNING: javax.xml.bind.UnmarshalException
- with
Hi @John, the problem is in the @XmlRootElement, Jackson provider doesn't
need it, then i just add Jackson as a provider and everything works.
But i dont understand why with the default provider this doesn't work.
I add the jackson dependecy and
the
cause default provider is using jaxb model so it needs a wrapper.
Jackson doesnt. (see jettison)
Side note: you can put this conf in openejb-jar.xml
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github:
Actually I was curious for the code since it seems like he's
referencing XML in the error, but sending JSON.
On Mon, Feb 24, 2014 at 3:10 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
cause default provider is using jaxb model so it needs a wrapper.
Jackson doesnt. (see jettison)
Side
hehe, jettison is a xml library providing json as output but based on xml logic.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-02-24 21:14 GMT+01:00 John D. Ament
@Romain, is jettison bundled with TomEE?
2014-02-24 14:14 GMT-06:00 John D. Ament john.d.am...@gmail.com:
Actually I was curious for the code since it seems like he's
referencing XML in the error, but sending JSON.
On Mon, Feb 24, 2014 at 3:10 PM, Romain Manni-Bucau
rmannibu...@gmail.com
yes it is coming with cxf in jaxrs and plus versions
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-02-24 21:17 GMT+01:00 José Luis Cetina maxtorz...@gmail.com:
maybe test @xmltransient
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-02-24 21:58 GMT+01:00 José Luis Cetina maxtorz...@gmail.com:
@Romain is something like
13 matches
Mail list logo