Hi,

On Thu, 12 Sep 2002 09:05, David Weitzman wrote:
> Any ideas for an example?  Since Phoenix is targeted at the server
> environment, something that involves the cornerstone connection manager
> might be appropriate.  What about a really simple HTTP server?

It is up to you. Basically whatever you find interesting. I would recomend 
against a HTTP server given the large number of those around the place. 

When I did this I created the "Stailze" server. Essentially this server 
accepted connections from network, the client sent a java source file, the 
server formatted the source file and sent it back to the client. I used 
JRefactory (jrefactory.sourceforge.net) to do formatting.

I wrote it up as several chapters starting from basics and going through each 
step in the process. The outline went something like

Chapter 1: How to create an App
  Hello World Block (Basics of application and has a block that just printed 
"Hello World").

Chapter 2: How to use Dependencies
  Use ConnectionManager Block to accept connections from network and do basic 
formatting of Java Source Code.

Chapter 3: How to write a Service
  Extract a SourceCodeFormatter service and have the main Block depend upon it 
and use it to format code extracted from network

Chapter 4: The Environment
  How to configure loggers so that they print out to console, files, and to 
unix syslog. How to set up security policy that application operates under.

Chapter 5: Managing your Application
  Essentially this was how to make your blocks manageable.

etc.

That was a useful structure for me to write to. The actual server part was 
pretty minimal ;) However I would recomend that you write something that is 
useful or "neat". A SourceCode formatting server was kinda neat. If you no 
like that then there is plenty of other neat ideas running around. 


-- 
Cheers,

Peter Donald
--------------------------------------------------
 Logic: The art of being wrong with confidence...
--------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to