When I read the doc backend, it tells how to configure, etc. What does the backend code look like? Is it just a servlet with additional entries in the backend.xml file?
I tried to create a servlet with class name com.xyz.Mybackend and servlet Mybackend.
public Mybackend extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse resp){ while(true){
Then I added the following lines to backend.xml
<backends> <backend name="Mybackend"> <class>B1</class> <options> <dynamic>true</dynamic> </options> </backend> </backends>
Is this correct / sufficient? If yes. How do I start my backend now? Is he calling a link to a surfer servlet?
http://localhost/mybackenurl
?
source share