When to use @Singleton in a Jersey resource When to use @Singleton in a Jersey resource database database