I'm writing a Java library, and I found that GWT has ClientBundle interface/class that can use like this:
public interface DefaultResources extends ClientBundle
{
    @Source("source/resource.rs")
    TextResource getTextResource();
}
How can I achieve that without using GWT?
Many thanks!
 
    