PDA

View Full Version : Mocking up data sources...


bloch
01-17-2003, 02:06 PM
This message went to the Bogart mailing list.


Hello all,

Heretofore I have not been able to spend the time with the beta that I would have liked and have only really dabbled in it. Now that I can
finally dedicate myself to the task I am going to try to concentrate on
a more data intensive application for which there do not seem much in
the way of examples. I understand that the preferred method to do this
would be to via a webservice. Has anyone done anything is this area that
could give me a head start? It would seem like the contacts example
could be a good starting point but I need to swap out the data source.

Thanks,

--Wayne


My reply to Wayne was:
The easiest way to mock this up is to set up Apache or some other web server and place your XML files in the htdocs directory. This way you can begin designing the data structure and the app without worrying about the backend.

--Mark Davis

I suggested Apache since it is the most common web server out there. This would be most useful if you were setting up the data and app servers on different machines. Most of us are using TomCat on a local install and there is another thing to do...

You can get HTTP requests fulfilled by tomcat just by requesting the file from http://localhost:8080/lps-b2/my-appps/somefile.xml

This way you don't have any extra software to muck with :D

mdavis
01-17-2003, 02:20 PM
That's a great idea Eric. There really is no need for another piece of software when a servlet container is already running. This is a good idea for testing and tinkering.

For full app deployment people will want to tie the app to their existing data sources. Then you would be likely to have things on their own servers with different middleware.

--md