1d
awarded Nice Answer
Oct
10
awarded Necromancer
Sep
30
awarded Explainer
Sep
29
comment SOAP WS-Security header UsernameToken is element tenant valid?
@c0dev look for xs:any type elements
Sep
29
comment SOAP WS-Security header UsernameToken is element tenant valid?
Doesn't look like it from the schema.
Sep
29
answered SOAP WS-Security header UsernameToken is element tenant valid?
Sep
24
comment Select file encoding in OutputStreamWriter
@Michael no. One of the 8-bit mappings might work (non-unicode), but why are you using a Writer to write binary data?
Sep
23
comment Spring - Autowire fails when adding an aspect-backed annotation to overridden method
@hoodieman I take it back - if your aspect does try/catch too, then it's better than a plain method call. Personally, I prefer a single fault barrier (see oracle.com/technetwork/java/effective-exceptions-092345.html) to ensure uncaught exceptions are logged exactly once, but your solution sounds good too.
Sep
22
answered Spring - Autowire fails when adding an aspect-backed annotation to overridden method
Sep
18
comment Null pointer exception only on application startup org.eclipse.persistence.jaxb.JAXBMarshaller.marshal
You could add some kind of initialization listener. The problem should only occur for the first user to hit the application, not once per user. (Of course, my answer might turn out not to be relevant)
Sep
17
answered Null pointer exception only on application startup org.eclipse.persistence.jaxb.JAXBMarshaller.marshal
Sep
12
comment Best way to convert an InputStream object to String
Use an XML REST or SOAP library, for Java there are about a billion. InputStream is too low level.
Sep
10
revised invalid xml syntax in jersey webservices using JAXB
added 382 characters in body
Sep
10
answered invalid xml syntax in jersey webservices using JAXB
Sep
8
awarded Guru
Aug
9
comment Google Play on Android 4.0 emulator
Voting this answer down is just shooting the messenger
Aug
8
awarded java
Aug
7
comment Deep reflective compare equals
Thanks @Duncan, that will help
Jul
31
awarded Popular Question
Jul
29
comment Avoiding "!= null" statements in Java?
Null Object pattern is more useful than null because sometimes the result isn't used immediately - it could be stored in a field, for example. You can then distinguish between null caused by an uninitialized field (probably a programming error), vs null as a result of some action.
1 2 3 4 5