On Wed, Mar 27, 2013 at 9:19 AM, ZhongGuan <[email protected]> wrote:

> But if I deploy it to the WebSphere App 8.5.
> I need a empty subClass of Application for autoScan
> @ApplicationPath("/*")
> public class JaxRsApplication extends Application {
>
> }
> It also works fine in WebSphere.

Hi,

A bit off-topic, so please forgive me if it rises the noise in your mailbox.

What a coincidence! I'm working on a sample of JAX-RS with WAS Liberty
Profile and didn't know I could leave the class empty for WLP to pick
up resources. Thanks for the tip.

Jacek

-- 
Jacek Laskowski
Functional languages (Clojure), Java EE, and IBM WebSphere -
http://blog.japila.pl
"Never discourage anyone who continually makes progress, no matter how
slow." Plato

Reply via email to