java beginner wants to learn Hibernate [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 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)

Related

What should I know before learning Spring? [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.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Opinion-based Update the question so it can be answered with facts and citations by editing this post.
I've been learning Spring and I'm really liking what I'm learning, but feel ill-equipped to do anything at the moment. I know Java really well, I'm ok at ant, but I don't know anything about: J2EE, JSP, Servlets, Tomcat, Maven, Hibernate, JPA, and I've never made any kind of website using Java (I've made lots of applications in Java, but all websites I've made were using PHP).
Should I cement some of my knowledge of the "basics" or should I keep slogging away at Spring?
Spring is a monster. It all depends on what part of Spring you are interested in. A good starting point would be the Dependency Injection container, which requires none of the technologies that you are unfamiliar with (the ones from your question).
If you are interested in learning Spring MVC (which it sounds like you might be based on the technologies you mention), I would recommend learning the basics in these (again from your question):
Servlets
JSP
Tomcat (or another web application container)
For Spring MVC I would also look at the idea of RESTful web services.
You can find a (likely) comprehensive list of Spring projects at this link.
I would recommend three things:
Lots of Reading => Spring Documentation in a Single Page
Lots of Coding => You can start off by getting an example Spring / Hibernate project. And then use Spring Tool Suite, which includes many interactive tutorials, and template projects that just work without any coding at all.
Find a Spring User Group next to the place you live. If there is no such group => create one!
It is totally ok that you don't know JSP / Servlets / Tomcat / J(2)EE / etc. Extremely smart people who, for example, write Linux kernel (which is a lot more complex) may not know it as well. The beauty of Spring is that going through it, and reading about best patterns and approaches you'll get all the above. No need to learn J(2)EE separately. Spring is J(2)EE of today.
For a good enterprise developer, I would recommend
a) very very good core java ( including collections, jdbc , threads)
b) servlets
Then I think you can start diving into spring.
If you want to accomplish something quickly to start with, definitely look at JSPs. A JSP is basically an HTML document with some special <% %> tags where you can just shovel in java. It's really entertaining, although nothing you'd want to use for a large-scale application.

web development using java [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 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?

GWT ,Vaadin,SmartGwt,ExtGwt ?---from Swing [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 9 years ago.
I start to migrate an old Swing app to web interface:
Alternatives I want :
Gwt, Vaadin,Smart Gwt, Ext Gwt
The profile of the app is a custom ERP.
Big question is which ?
Why GWT do not have rich components like Vaadin ,SmartGwt and ExtGwt has ?
DO you know any GWT component library ?
Thanks.
Well, I don't think there is a definite answer for this one. I started about 2 years ago with all this web-dev maze and I have theses conclusions:
GWT: This framework is really all about abstracting you from the "real" web development. The framework has evolved a lot since I use it. It has gotten better and they are continually introducing interesting new concepts and options for you to build your app. They leave a hole lot of freedom to the dev. This can be a good thing since it can be nice to choose components you already know. Say you know JQuery, they have GQuery, you know Hibernate you can use it, Spring you can use it. But, to much freedom is kind of daunting for GWT beginners since it's hard to plug all the components to get an enterprise application. Is it that hard? Not really you get used to it's concepts and start liking it. As far as Widget goes, they do not offer as many eye candy stuff as Vaadin, gxt or Smart but I like to stick with the bases.
Smart: I used SmartGWT for enterprise level projets and it does the job. It has many great components that will get you where you want. It is a huge framework though and it gets complex when something doesn't work as you expected. But, you could be happy with it. It gets a bit hard to use layouts sometimes.
GXT: Really nice. They offer a lot of great widgets, yes. They offer good support, yes. You have to pay :( yes. Unless you are an Open source project, you will have to pay fees to use it. The baseline is, I abandoned it until they release the version 3.0. Why? They are syncing with GWT roadmap. They will be using the same event handling and UI binders. I'm waiting for this to ease my dev. time. Sometimes you also want to mix (which might not be the greatest idea) but the event model being different from the GWT one is pretty crappy.
Bottom line, I sticking with GWT for now. They will continue enhancing it and the support community is great! But you won't get a savvy UI which you could get with any of the frameworks.
good luck

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

Whare are general knowledge you should learn before (Java Developer) inteview? [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.
You are applying for a role "Java Developer" and you are called for an interview.
What are the general knowledge you should/must learn before you sit in front of the panel?
I would read the Sun Certified Java Programmer study guide. Many employers don't expect you to have the actual certification, but they do expect you to know the material (whether they explicitly say so or not).
In a lot of interviews for java postions I've been in, design patterns have been a big topic. Specifically Factory/Abstract Factory/Singleton/Facade. Doesn't hurt to brush up on those.
I've interviewed a couple of developers in the past, as well as joined a couple of interviews. What I've seen so far:
Design Patterns - Which ones have you used, and why.
Collection classes
Threading
Memory usage
For some places that want to dig a little further:
Soft and weak pointers
Java I/O classes
Profiling
Debugging
Depending on the position, then come specifics like usage of frameworks in case of a web developer, or Eclipse RCP, or Swing, whatever is the required technology for the job. In that case it is relatively difficult to generalize. My bet is that a little Swing never hurts.
Well first and foremost you need to be proficient in Java and be comfortable talking about coding problems which may be presented to you during the interview. Knowledge of (the curent state of) some frameworks is also a nice plus. Usually java is used on server side stuff, so try to look into some Spring, Wicket, Tapestry, Struts, JSP, JSF, Ibatis, Hibernate, or other interesting stuff.
Also, having a fallback plan to go into "presentation mode" if the interviewers do not seem to have interesting questions for you is a good plan. You want to show your stuff. Wow them, without lying.
Be careful with wat you say, some interviewers might actually have more experience than you, but do not show it, until it is verdict time.
Good luck with your interviews.
Depends on position you are applying for.
In java most commonly asked questions are on
Threads
Serialization : Specially serialversionUUID once interviewer had also asked me about default algorithm to calculate serialversionUUID.
Collections: In and outs of collections Hashset, LinkedList, DeQueue, Iterator etc
Basic Oops concepts. Questions like diff between abstraction and polymorphism etc
Markup interface, immutable classes, reflection(rarely)
Second part of interview will be on design patterns
Commonly asked design patterns are
Singleton Pros- cons
Factory vs Dependency injection
Builder
Decorator vs Dependency injection
Command
Strategy
Visitor
Logical questions are always based on algorithms and I will advise to have knowledge of most of searching sorting algorithms as this is the base of software engg.
A few good tips here. At least you tell someone where to start.

Categories

Resources