web development using java [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am learning java(J2EE) programming language these days. I wants to create a web-site having features where user can login, logout, post there comment and other features with time using java technology just as a hobby project.
But I don't have any idea from where to begin. It would be very helpful if some one just give some starting guidelines and tools needed.
Thanks

If this is just for fun with no deadline, then I encourage you to go as low-level as you can by making servlets and jsp pages, and getting them to work with tomcat. Once you can get some hello world pages working, then start learning about other complementary technologies like Struts, and Hibernate, and the problems that they solve and the complexity that they introduce. Try to master one technology at a time (e.g. servlets) before going on to the next one. This way you can understand how technologies relate to each other and can avoid trying to climb multiple learning curves simultaneously.

You can have a look at this tutorial. It pretty much explains everything that you need to know to build a website. Hope it might be of your help.

You could start by learning to use the reference web framework which is JavaServerFaces.
Take a look here.
Hope it helps.

Why not try GWT ?
It's a top-level web toolkit (based on RPC), full-Java, easy to learn, intuitive, and well-documented.

Try this tutorial http://netbeans.org/kb/docs/javaee/ecommerce/intro.html
When I was learning J2EE this tutorial was very helpful
This is good video tutorial http://www.vtc.com/products/J2EE-Java-2-Enterprise-Edition-tutorials.htm
Look at this Learning Trail for Java Web Development?

Related

Getting started with Android Development basics [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is there a good tutorial on the net somewhere that delineates the steps needed to get started programming an Android application from square one on windows 7? I am looking to basically hit a Web Service and display it on a phone as a view of sorts (Kind of using the MVC design pattern). I have downloaded eclipse and I have downloaded the Android SDK. But I think I am missing some things. In addition, do you think it is easier to develop Android apps on Linux or Windows? I developed in java during college, and I just thought it was easier doing it on Java then on windows. Let me know what you think.
I can't post a comment so I will have to write a answer to your question, although I doubt this is a typical answer as well as a typical question for StackOverflow.
I've read a lot on Android before starting programming for it, I can hint you on what resources I found the best to make your way into Android development.
Concerning books I found these to be the best when starting:
Android Recipes: A Problem-Solution Approach
Beginning Android 2
More recently to deal with more advanced topics I've found The Busy Coder's Guide to Android Development to be a really helpful resource.
You also have some really helpful resources online, specially the android development website. Start from the DevGuide and it will give you a clear big picture on the subject. The other section of the android dev website that you can take advantage of is the tutorial section. I would recommend you to the these, specially the first ones as they are very basic.
I'm assuming that you have a basic understanding of Java by not referencing you any Java learning resources.

Help me decide what to use with Google App Engine for this practical work [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm working on a practical work for college, and I have to develop a web-app that could be used by all the teachers from my province.
The application should let the users (teachers) manage some information related to their daily duties. One of the requirements is that I must use
Google App Engine platform for developing and hosting the web application.
I have 2 months to finish the work.
I have some intermediate knowledge of C++, so what language (Python or Java ) and web framework do you think would the best to
develop the application in less time?
I know this is not a strictly programming questions, but please don't delete this post at least until I get a
few answer in order to have an idea of how to proceed.
Many thanks in advance!
I would recommend using Python + Django framework. I love Java, but for the Google App Engine there is much more documentation online for Python.
I would recommend taking a look at Java + slim3. I have my own MVC framework for AppEngine (PhD thesis work), and I really wish I had started after slim3 came out. I'd be using it myself. I can't really speak vs using Python on AppEngine, but I don't think I'd recommend any other Java framework vs slim3. I've tried a few. As an example, I use Struts2 at work. I would not recommend Struts2 given your timeframe -- the learning curve would make your deadline ambitious. Part of this is just due to the fact that Struts2 isn't quite a full stack (saving data in AppEngine is a big deal when you are first learning), which makes only some documentation useful for your particular project. Slim3 sidesteps this by being explicitly targeted to AppEngine.
Go with python and default webapp framework . As you are new to both java and python. Appengine on python has been there for sometime, you will find lots of solution on python as it was introduced earlier. Learning curve is very small in python when compared to java according to me. Also go for eclipse with pydev plugin as your IDE. This will make your deployment and development much easier . Google 's own documentation is the best place to start.
All you need to do is spend some time reading the whole documentation patiently . Even i started with appengine very recently.

java beginner wants to learn Hibernate [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm a rookie in Java, so far I have completed the core Java concepts except the IO chapter. I planning to finish up the J2EE material and frameworks such as Hibernate, Spring and Struts.
Please guide me. How can I finish up studying Hibernate, Springs and Struts in 2 days without going through J2EE in detail .Since I'm preparing for an interview?
Thanks in advance.
I doubt anyone could take on that material in two days and be able to make sense in an interview. A smart interviewer will rapidly establish that you have only read some books and really don't know that much.
The best thing to do (in my opinion) is read the websites for spring and hibernate to get an idea of what they do at a conceptual level. Then in the interview don't try and hide your lack of knowledge. But talk about how fast you can learn, how eager you are to use these tools and how much you want to work with other developers to build systems.
Honesty and a good attitude in an interview will get you further than trying to fake your way through.
you can get some hibernate here: The Easiest Way To Learn Hibernate: YouTube Videos and the Online Tutorial
REMEMBER, Technical Knowledge is an ocean, you cant get any thing within 2 days or 3 days. You need to apply yourself and learn.
Since i can understand what kind of situationa are you in I can put some points for you
1)My Personnel Opinion, if you are aware of the JDBC, then you can corelate with the Hiberante and Leanr more quickly.
So you get the basic Hibernate Topics!!!!
2) Check for the Video Tutorials in Videos.google.com or Youtube.com, this will defnitely Help, even for me when i was learning it helped me a lot to understand better
3)After that You try to complete Struts or Spring either one is sufficient I dont think you can focus both in 2 days, you can say that you got a chance to work only on Struts /Spring
Hope this work
There's a series of "#{name_of_framework} in action" books you could read. There's one for hibernate, spring and struts each (actually when I read them it was webwork, the precursor of struts, but they probably updated it). But I don't think 2 days will be enough to go through them (and actually remember anything).
You could also try doing some basic tutorials, but still that's barely scratching the surface. Hopefully your potential employer realizes that they can teach you some of the more advanced stuff there (especially since you'll probably have to get used to the way they use these frameworks)

sample java applications [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
.NET has codeplex for good sample applications to understand best practices. In Java, the first level of difficulty lies in finding a project with the frameworks you are interested to see implemented. In any case I've been unsuccessful in finding sample applications.
SourceForge.NET has many, but a lot of them are incomplete. Many other samples I find are only covering a CRUD - like Spring web site provides a CRUD, struts 2 provides a CRUD and I found some more here: http://www.learntechnology.net/content/main.jsp
None of them cover an application with decent level of complexity. I'm sure there are such projects, it's just my inability to find them.
Can someone provide the key for the treasure :-)
Edit: I got a comment asking me for specifics, so here it is:
I'm looking for a web application, built with a framework like Struts 2, Spring MVC (any action framework basically), Hibernate / Plain JDBC / JDBC templates in Spring at DAL, and no EJB's please!!
An application like bug tracker, blog template, inventory management etc.. anything that is non-trivial.
a good starting point might be appfuse it is really a sort of boot strap your project kinda thing. Make sure you go for the 'full-source' option at the end of the instructions.
As for features:
Security, with user and admin roles
Sign up
Email templates
How about the Java pet store reference implementation from the J2EE blueprints?
I guess the following link may be useful. It explains how to go about implementing a project using domain driven design
http://dddsample.sourceforge.net/index.html

noob project to learn Spring/Hibernate [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to get my feet wet with Spring/Hibernate. But I think I move along faster and am more motivated if I am working with code rather than just reading a book chapter by chapter.
Does anyone have any good ideas for a home project to work on to learn these technologies? Any exercises that you might have worked on and thought useful?
Or perhaps you know of a book/tutorial that is based on a single project and walks you through it?
AppFuse is a Spring & Hibernate app designed to be used as skeleton for new projects. Install it, run maven, you have a working project you can study, inspect, debug, modify or add to as you wish. I've worked on a couple of enterprise apps that started as AppFuse.
I hope you would have some existing applications, previously done with different tech and framework. The best is to implement those with Hibernate and Spring.
I suggest using Appfuse, too, as tpdi does. A couple of details:
Use "Spring MVC Basic" project;
start with the Quickstart, and stick to it;
when you're confident enough, go deeper with each technology / layer.
You will find yourself digging in documentation, but with an already working project. Appfuse ha very few "special" classes & utilities, once you master it you can anytime start from scratch... but it's easier with it ;)
You need something simple but not trivial and complex but not complicated.
Try making a timetabling system or calendar

Categories

Resources