DeveloperCube - Java based site
YanksBlog.com, an unofficial New York Yankees fan blog
Username:    Password:
Remember Me?    
Java based site

 
Post new topic   Reply to topic    DeveloperCube Forum Index -> Scripts and Programming
 See a User Guidelines violation? Please contact us.
Author Message

Triumvirate

Joined: 24 Feb 2004
Posts: 169
Location: NY, USA

PostPosted: 4/28/2004, 6:42 pm    Post subject: Java based site Reply with quote

I recently enrolled in a Java class (that's unimportant but I'll state it anyway) and I know that what I want to do with my site I'll be able to do using java. The only reason I am holding back from doing so is because I had a few questions. First of all, as many of my users have dial-up connections I wanted to know if Java applications and applets take a long time to load for people using dial-up, and will this be a deterrent (or would it be to you?) Also I was wondering in regards to my sites bandwidth, do java apps tend to be bandwidth hogs? Or do they not really increase bandwidth consumption at all?

Thanks.
_________________
GamingMMO.com
Back to top

Paul

Joined: 18 Jan 2004
Posts: 137
Location: Worthing, UK

PostPosted: 4/29/2004, 11:34 am    Post subject: Reply with quote

I wouldnt think java applets would be too bad in terms of bandwidth (though I have no experience of that) However they really would put me off a site if overused - they take much longer to load than an HTML page, require a JVM - which not everyone has and generally become annoying.

Having said that, it also depends what they are used for, sometimes they are a nessecary evil. What did you want to use them for?
_________________
Paul Woodland - DeveloperCube Moderator
LiquidSix Hosting: Windows 2003 Plans from £9.95 / $18 for a year
PW New Media Network / Forums
Back to top

Triumvirate

Joined: 24 Feb 2004
Posts: 169
Location: NY, USA

PostPosted: 4/29/2004, 12:53 pm    Post subject: Reply with quote

I am going to use it to allow me to more easily manage my site. Basically it will be, what I am calling, an RPG Management System. It will allow people to update their own stats and levels as they gain them, also it will update the skills and such that they learn etc. This will allow me to focus more of my time on adding new, fresh content rather than updating people as they add points to their stats.

However, I can also write it in PHP (I will have to struggle through it as I am not that fluent in PHP but I can manage to do it). But, with PHP I won't have as much of a 'shiny' factor as I would with Java. But, for the sake of loading speed it may be more beneficial to use PHP in the long run rather than add a few special little features and use Java.
_________________
GamingMMO.com
Back to top

Paul

Joined: 18 Jan 2004
Posts: 137
Location: Worthing, UK

PostPosted: 4/29/2004, 10:12 pm    Post subject: Reply with quote

I would go for PHP personally, I would be much more comfertable using it as a user. However if you want to use Java, you could look into servlets - its like using PHP, you make pages that the server "runs" and sends the output HTML - but its in java Smile I've never used them, and you will have a much harder time finding a host to host them, but its something to bear in mind!
_________________
Paul Woodland - DeveloperCube Moderator
LiquidSix Hosting: Windows 2003 Plans from £9.95 / $18 for a year
PW New Media Network / Forums
Back to top

Triumvirate

Joined: 24 Feb 2004
Posts: 169
Location: NY, USA

PostPosted: 4/30/2004, 3:18 pm    Post subject: Reply with quote

Thanks, I'll look into that, I probably will write it in php and maybe just have a few little things in Java. Most of my users have dial-up, so the more I think about it the better it would be to write in php over Java. Thank for all the suggestions.
_________________
GamingMMO.com
Back to top

Hartmann

Joined: 31 Jan 2004
Posts: 9
Location: Lubbock, TX

PostPosted: 5/13/2004, 3:42 pm    Post subject: Reply with quote

If you want, just to get some experience you could write an interface to your PHP generated information using Java. Use Swing and AWT to create a nice GUI for the user to view their stats and stuff.

That will allow you to mix it up and get more experience in two technologies, instead of just one.
_________________
Stephan
Back to top

Matt

Joined: 30 Jan 2004
Posts: 22
Location: University of East Anglia

PostPosted: 5/17/2004, 3:19 am    Post subject: Reply with quote

Saying that, there is also the JSP alternative, they are server side pages written in java...
_________________
Matthew Abbott
- Developer
- PW New Media
- Chandler: "Now you understand how I feel every day. The world is my lesbian wedding"
Back to top

quentin

Joined: 20 Jul 2004
Posts: 5

PostPosted: 7/20/2004, 11:43 am    Post subject: Reply with quote

Quote:
I am going to use it to allow me to more easily manage my site.


This is where one sees you're just out of the java course Wink. Applets are one the first things taught in java courses, while they're one of the worse technologies revolving around this language.
Swing is the most horrible GUI design library ever. It won't look as good as well designed html, and if you want really shiny stuff you should go with flash imho. There's not much you can do with swing you could not do with html/javascript. if you're not convinced, visit sites such as http://www.pwhitrow.com or http://webfx.eae.net
Finally the worse thing about applets is JDK compatibility.
Most of your visitors will only have the microsoft JVM on their computer, which is not only slow, but also very bugged. And now, if you program your applet according to these bugs, you'll discover that it won't work under the sun JVM for some mysterious reason (and I'm not even talking about different versions of JDKs).

Now that said, not using java on the client side is one thing, it doesn't mean it's bad on the server. I personnally love JSPs/Servlets programming, and the J2EE architecture allows for really flexible, easily mangeable applications (although not as fast to develop as php). Also it can run on open source technologies (linux, apache, tomcat), and while there are not as many hosts offering these as there are offering php you can get an infrastructure almost as cheap.

Just my 2 cents Smile
_________________
The largest message boards on the web!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    DeveloperCube Forum Index -> Scripts and Programming All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Programming Forum - Art Schools Online

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - phpBBHacks.com - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - DrGregHouse.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

We Support phpBBHacks.com. Forum Icons by Daz. Privacy Policy. Powered by phpBB © phpBB Group. phpBB SEO.
Copyright © 2003-2009. DeveloperCube, iFroggy Network. All Rights Reserved.

Advertising   Contact   Links   Link To Us   Staff   User Guidelines