Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes Server-side starter application - file handling. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Server-side starter application - file handling." Watch "Server-side starter application - file handling." New topic
Author

Server-side starter application - file handling.

Alan Boxer
Greenhorn

Joined: Feb 29, 2008
Posts: 2
Hi everyone, I've just arrived here from the Head Start book and thought I'd drop in for a while.

Although I used to scratch a living from software development I'm new to OO concepts in general and Java in particular. I'm only halfway through the book and looking for an excuse to use Java. After some little warm-ups on my laptop, I have an application in mind, a simple Web file server. But I've not done anything on the server-side before and would appreciate some hints.

In outline, a user at my web page will press a button and get a file downloaded. That file is bespoke for the user (a educational activity) so the file has to be created first. It might be just a simple concatenation of small files from a pool of files previously uploaded. So what would be the simplest approach that I should look into?

Head Start has short overviews of Remote Method Invocation, Servlets, JSP and JINI and so I guess I'm heading for one of these.

Any thoughts will be much appreciated.

Al


There are 10 types of people, those who appreciate binary and those who don't.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi Alan,

Welcome to JavaRanch!

For an application like this, you'd want to use JSP for the web page(s) themselves, and Servlets for the server code that "does something" (like assembling the files.) There's a "Head First Servlets and JSP" which I suspect you're going to want to check out!


[Jess in Action][AskingGoodQuestions]
Alan Boxer
Greenhorn

Joined: Feb 29, 2008
Posts: 2
That's just what I need Ernest, thank you very much.

Al
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Server-side starter application - file handling.
 
Similar Threads
Listening for connections
deploying JNLP in Jetty web server of jboss.
Suggestions/help needed creating portal page
Handling Uploaded Files
Server Side GUI Implementation