• Categories
  • Search

Tyrus 1.0-b09 released

I've started working on new project - Reference Implementation of JSR 356: Java API for WebSocket - Tyrus and we just released new version. What is Tyrus? Tyrus providers implementation for JSR 356 plus some other (currently minor) improvements. Project itself is still in development phase, so you probably don't want to use it in production environment - especially when specification itself is not yet final - but if you want to be ontrack with this project, this is the release...

Friday, January 18, 2013 | Read More

Jersey - Automatic XML schema generation for WADL

Gerard Davison contributed to Jersey one (last!) thing which is needed for generating client based on returned wadl - he managed to add XML schemas which describe returned (or accepted) types. See more details in his blog post: Auttomatic XML Schema generation for Jersey WADLs. Thanks Gerard! ..and looking forward to another contribution(s) :-)

Wednesday, July 13, 2011 | Read More

Jersey - Server and Client side configuration

Originaly this was supposed to be something what are we lacking in our user guide - list of all init params plus at least one sample to each one.. but I wasn't able to finish it yet (and its on my TODO list for at least six months :-| ). But I think just a list with links to javadoc should be useful as well. Please note that this is not complete list and it might be (but I don't guarantee anything) updated in time.Reason why I did this is to sum up all possible properties -...

Monday, July 11, 2011 | Read More

Jersey non blocking client

Although Jersey already have support for making asynchronous requests, it is implemented by standard blocking way - every asynchronous request is handled by one thread and that thread is released only after request is completely processed. That is OK for lots of cases, but imagine how that will work when you need to do lots of parallel requests. Of course you can limit (and its really wise thing to do, you do want control yourresources) number of threads used for asynchronous...

Tuesday, June 28, 2011 | Read More

Sun web app dtds are gone - Error parsing descriptor file WEB-INF/sun-web.xml

UPDATE: Mentioned issue was only a glitch and is fixed now, so original URLs are back online. Anyway that mirror is up too, so someone still could find this useful.As of today, some of our tests began failing and I kind of wondered why (have to do promoted build tomorrow and its not possible to do it without testing) so.. looking at stacktrace: SEVERE: Error parsing descriptor Deployment descriptor file WEB-INF/sun-web.xml in archive [webapp].java.io.IOException: Error parsing...

Thursday, June 2, 2011 | Read More

Enable/Disable WADL generation in runtime - Jersey 1.7

We've received request about giving more control related to WADL generation, but not that much (no authentication or this kind of features) in runtime. This can be useful for example when you have more than one application deployed and you want to disable WADL generation for all of them - as some security measure. How is it done? You can inject WadlApplicationContext and use its methods - isWadlGenerationEnabled() and setWadlGenerationEnabled(boolean). Use of this is self...

Monday, May 23, 2011 | Read More
 

Visit the Oracle Blog

 

Contact Us

Oracle

Integrated Cloud Applications & Platform Services