I keep hearing the word “resource” in reference to JAX-RS and I don’t know what it means. I know what a JAX-RS web service is. I’ve created them often enough but I find the word “resource” very ambiguous. There are quite a lot of things that JAX-RS is or can be, so every time I hear the world "resource", my brain interprets it as "magical mystery thingy that does, we know not what". In the most explicit terms possible, what is a JAX-RS resource? Is it a client? Server? Either? Something else all together? The word resource seems to get tossed around for everything and yet I can hardly ever find a Java object of type Resource in the code. Then there's Spring & ORM mapping annotations..
If I were a 911 operator and you called me to have yourself pieced back together after a terrible accident, I might then send you a “medical resource”. Is that a mechanic named Joe who dropped out of paramedic school and is riding a bike, or is it an actual paramedic in an ambulance? ;-)
Joe is scrubbing up for surgery. Any last words?? ;-)