Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 30th, 2007, 08:25 PM
Deo Favente Deo Favente is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 1 Deo Favente User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 41 sec
Reputation Power: 0
Server Advice needed

I suck at making titles, yes.
ANYWAY,
Back in the day i used microsoft (last time was bout 3 weeks ago), i had an awesome web server skeleton in vb6 and 5 with vb6 functions. It was great. It had set up an array of sockets and it had one easy place to go to for reading the request and another one for making the output. The output thing just had this really easy if block that checks
first if the requested page is / then
it has a if block that looks for different index files
if there is none it lists the files much like apache
if its a file it would read the file and send it
then i added lots of other stuff to that iff statement. It also had a sub for post data, which contained nothing really but explained how to add things. An awesome skeleton.
I'm trying to get as far away from windows as possible. In my opionion windows is a shiity product. It has its pros but none of them are for me. i want Java (actually some1 refferred me to c++ but i think Java is c++ with extra stuff)! Can some1 please direct me to a web server written in Java like this. That would be great. I did try this awesome thign called Google. But im too tired from those three weeks i was telling you about. What was i doing? Getting fuking opengl to work properly on linux (i finally ****ing got it!)! So if any1 could politely direct me to some place where i could find such a skeleton that would be awesome.

Also: the second thing i did with my vb5 thing server is i made a login thing in the post sub which looked exactly like the get sub. It logged the user in by looking at their ip address. THis worked great, only 1 login per computer, person would be logged into whatever user account they decided to use. But what if two people were using the same ip? Is there another easy way i should be doing it? If the skeleton also has a login thing, or if you people could help with doing that, that would also be aweomse. Thanks. But i mostly want the web server from the first paragraph. I can just have the ip login thing goiing on.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Server Advice needed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT