/    Sign up×
Community /Pin to ProfileBookmark

What are some common uses for java in web development

Hello,

I been working with web development for a few years now and my experainces mainly consist of using php and mysql, or asp and asp.net. Back when i was in school learning programming, I learned to use C++ and Java, which open the doors to learning other scripting languages for web design. My question is this for some experainced web developers. What are some common uses you use java when developing a web site for personal use or what a client might ask you to do for them.

I know its has its uses in web development but never really touched based on what I could actually use it for other then setting up a chat room perhaps, I’m sure it has alot more uses then just that. If there are any links or articles you know of that can point me at to study up on I would appreciate it something to get me going on how to add java to my arsenal of web development skills. Thanks

to post a comment
Java

2 Comments(s)

Copy linkTweet thisAlerts:
@WaylanderSep 21.2006 — Java is used by big business to model large or complex databases into an accessable and usable format like a web form. Its not really the kind of thing you would use for a personal web project, php is much smore straight forward cheaper and easier. Java is definately my preferred web language but typically its suited to larger scale projects.

Some of the later versions of oracle come with java embedded in it which can be very usefull with the web capable versions of thier application server. Java has a very large community, with quite a few frameworks and components out there which is the main reason I prefer it to php, aside from php's loose syntax.

Things like: struts, webwork, tapestry, spring, ibatis, jsf, jsp, freemarker, velocity... there really are heaps though.

Most java web application development and the community frameworks and components are based on a model-view-controller type structure. Might be a good place to start if you don't already have experience with it.

Its much easier to model large scale databases when you have an extensible framework to do it in, like struts. Relational mapping tools like ibatis have also improved speed and quality when handling data objects within the application. Templating enginges have also become more prominent in java web development. There is quite a diverse range and most of them are interchangable, some come with others embedded in them...

The last java web app I worked on was built with the struts framework, used ibatis for relational mapping and freemarker for the view component. With components like these it becomes very straight forward to build a fairly large scale MVC applications with a minimum amount of fuss and problems.

Basically there really is a difference in the terms "web development" and "web application development", some standard web development might get done with java but I really doubt that its a large ratio of whats in place.

http://en.wikipedia.org/wiki/Java_EE

http://en.wikipedia.org/wiki/Model-view-controller

http://en.wikipedia.org/wiki/Apache_Struts

http://ibatis.apache.org/

http://freemarker.sourceforge.net/


Hope that wasnt too confusing ?

Waylander
Copy linkTweet thisAlerts:
@CStraussauthorSep 22.2006 — thanks for the info yeah a bit confussing but still gave me a some starting points and terms to look up and learn from. Im not in to building big stuff such as you talked about but atleast I got a little more knowledge of what I could use java for if I come across the need too do something such as you discussed.

So basicly its still best to be used for applications rather then web development in the aspect I do. Meaning I do more of common web sites or ecom sites if someone has a product they want to sell on line and in that case I use php and mysql.

But in the way you were discribing its uses with database and what not it would be similar to the way you would might write a program in say vb.net to work with and extract information from an acess database which I remember doing in school back in the day lol. Anyways thanks for the info and the links i will be looking in to understand a bit more what you were discribing, not that you didnt explain it well some of those terms are still kinda of out of my scope and i have done much research on frameworks and what not anyways thanks again ?
×

Success!

Help @CStrauss spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...