• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

developing website using java

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear all,
im a really a beginner of java..(My first helloWorld program has work! thanks 4 help)it was directory problem where i saved the file)so now i want to learn java step by step, as well as implementing it by developing a website..from the reading i went through,i came across to the term applet and servelet..its confusing me much,and for the website to develop,i manage to use dreamweaver and mysql,so wht will u suggest me to do?i want to develop a simple website with a button function for edit add,delete,search,and display announcement..
thank you very much.

regards,
tny shariff
 
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Certainly you could do these things with Java. However, I would suggest you gain a little more experience with the language first.

Also, I am not an expert in this field but I imagine it may be possible (and easier?) to use other technologies and languages for some for some of these features; perhaps JavaScript or even HTML forms. Java is a great language but you should definitely choose the right tool for the job!
 
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
an applet can work within ( and mainly that is how it is used) within HTML.

learning this markup language would help to implement applets. and javascript is a good way to help keep your head in the java, although they are totally different, because javascript is like a programming language for the internet, client side.

ik
[ May 04, 2005: Message edited by: Davy Kelly ]
 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're just starting out, don't worry about servlets yet. They are a bit more advanced and fall under J2EE. Definately learn HTML and javascript if you haven't already. You can use Applets to include in your webpage but learn when to use them and when not to. I've seen sites that use applets for simple buttons such as white text on a blue rectangle, stuff that is easier and faster with basic html and maybe some style sheets. As you learn you'll realize what is best for the specific task, whether that be html, javascript, stylesheets, or applets. From there you can start learning JSPs, servlets, tag libraries and more advanced stuff.
 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tny Shariff,
I am posting here the answer I sent you in private, I didn't notice you ALSO post the same thing here!

Here it is:

Hi Tny,
are you new to Java or to programming in general?

You can realize what you described in at least 2 different ways:

* HTML (I suggest XHTML), SQL, PHP
* HTML (I suggest XHTML), SQL, J2EE (Servlet and JSP)

You should make a decision between those 2 solutions (there might be others!) considering which resources are available to you.
I am talking about where you want to upload your website: if you want to publish a website you have to pay for things like a domain name, web hosting and other stuff.
What you need is:

* domain name, web hosting, database support (like MySQL), PHP support
* domain name, web hosting, database support (like MySQL), Servlet and JSP support

The second solution is much more expensive than the first! Try to google for web hosting and compare the prices.

PHP is a SERVER SIDE scripting language very powerful, you can use it to access a database to retrieve/change/add/update information, and you can use to create an HTML/XHTML page that the server will send back to the client. If you are new to both PHP and Java and you need to upload your website spending as less money as possible, that go for PHP! You can find a lot of tutorials online and books in book stores. If you start from scratch, you can be up and running in PHP in like one week.

If you decide to go for the J2EE solution, you create a WEB APPLICATION more than a web site, it will cost you more money, but if you want to create this web app and have it running only on your computer (for testing or whatever) than you need the following:

* J2SE SDK http://java.sun.com/j2se/1.5.0/download.jsp also download the documentation
* Tomcat (Servlet and JSP container) http://jakarta.apache.org/tomcat/ again don't forget the documentation
* a Good IDE (I suggest Eclipse, but this is up to you!) http://www.eclipse.org/
* MySQL server www.mysql.com

I guess this is enough.

Let me know if you want to talk any further than this...do some googling and try to have an idea of what I wrote here.

P.S. Can I ask you why you didn't post a topic in the forum? How many other people did you send this private message?

Good luck!
Giovanni




Big Moose Saloon wrote:

>Private Message Notification
>
>Subject: applet..
>
>tny just sent you (Giovanni De Stefano) a Private Message at JavaRanch Big Moose Saloon.
>
>Here is the message sent by tny:
>
>--------------------------------------------------
>
>hye giovanni..
>
>im a really a beginner of java..so now i want to learn java step by step, as well as implementing it by developing a website..from the reading i went through,i came across to the term applet and servelet..its confusing me much,and for the website to develop,i manage to use dreamweaver and mysql,so wht will u suggest me to do?i want to develop a simple website with a button function for edit add,delete,search,and diplay announcement..
>
>thanks.
>
>
>
>regards,
>
>tny shariff
reply
    Bookmark Topic Watch Topic
  • New Topic