New to Restlets and have a question. Apologies if it's come up before, I couldn't find it in the archives
Do I need to create a Component instance and attach the Application to it if I'm going to run Restlests inside a Servlet container? I looked at the example com.testServlet.TestServletApplication and it wasn't clear to me why there is a main() in there and why a Component is created. The First Steps example didn't have any of that. The way I understand the architecture is that you only need to create a Component and have a main() is if you are going to run stand alone. Is this correct? Thanks for any assistance and would appreciate any guidance or places to look in the archives about best practices for running inside a Servlet container. Ted