users@jersey.java.net

Base URI at application startup time

From: Daniel Mischler <maillist.mischler_at_gmail.com>
Date: Thu, 8 Apr 2010 18:43:17 +0200

Hi all

I'm developing an application that needs to configure some lengthy
things at startup time. In order to do that it would be helpful to
get the base uri.

What is the (best) way to get that accomplished? I figure that
working with UriInfo does not work since I don't have a request
coming in, correct?

BTW im working with Jersey and EJB 3 on Glassfish.


Thanks for your help

Daniel