[program-l] Re: Eclipse, Spring and Hibernate

  • From: LU OGBE <oluogbe@xxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 23 Aug 2010 17:05:40 +0100

Hi,

I'll keep this info handy just in case the VStudio route doesn't work for me. Thanks.

Regards,
LU
----- Original Message ----- From: "Jared Stofflett" <stofflet@xxxxxxxxx>
To: <program-l@xxxxxxxxxxxxx>
Sent: Monday, August 23, 2010 5:02 PM
Subject: [program-l] Re: Eclipse, Spring and Hibernate


While I don't have anything to add to Kerneel's post if your looking
to do simple to moderitly complex java web programming you should take
a look at Grails. It is a web framework similar to Ruby on Rails, runs
on the JVM, and uses Groovy as it's language. Groovy is quite similar
to Java, but doesn't require nearly as much boiler plate code and has
nice features such as dynamic programming and closures. Since Groovy
runs on the JVM and has a similar syntax calling existing Java code is
trivial. This allows you to leverage any existing Java library as well
as other legacy Java code. Grails also uses Spring and Hybernate under
the covers but hides most of the complexity using convention over
configuration. I've done several projects with Grails and find it to
be productive. Do to the lack of boilerplate code such as getters and
setters I also find that a command prompt and text editor work well
and don't require the use of an IDE. For more info see
https://secure.wikimedia.org/wikipedia/en/wiki/Grails_%28framework%29
If you really want to learn Spring and Hibernate another option is
Spring Roo. It's basically a code generator on steroids that uses
aspect oriented programming to hide most of the boilerplate. I don't
have nearly as much experience with this though. More info can be
found at
https://secure.wikimedia.org/wikipedia/en/wiki/Spring_Roo

On 8/23/10, Kerneels Roos <kerneels@xxxxxxxxx> wrote:
Hi there,

Eclipse is an IDE of course, meaning it's only a tool for coding, debugging and organising your project in a sensible way. I'm not sure if Eclipse has a GUI builder, you know, the drag-n-drop kind of visual GUI builders that are common in Visual Studio. Once you know what you are doing, it's generally a
good idea to switch to using an IDE for any medium to large project. It
makes sense to start out with a simple text editor and command line
compiler, but soon you will need an integrated debugger and all the other
nice things an IDE offers.

Hibernate is an ORM -- Object Relational Mapper system which is a very
mature project by now -- it's been around for a while and many people use it extensively I believe. Basically you define your data model in special XML
files and then it makes persisting objects a breeze even if the objects
contain collections of other objects and so on. Hibernate also has a special query language HQL which is a powerful extension to SQL allowing you to do object queries. It's really awesome. You can also check out NHibernate for
.Net. So it's not a particular program, more like an API you can use from
within your code.

Spring is an application framework for building large, multi tiered
applications or web aplications. It's pretty involved and really only makes sense if your project needs to be of an enterprise standard with many layers
-- one for persistance, one for business logic, one for the view or user
interface and so on. What I'm saying is it's not for the beginner, and it's
not for your average web or desktop app. It's a big boy, and it's like a
collection of APIs and a methodology for how to structure most parts of your
application.

HTH and hope it's not all old hat for you already -- i.e. my post is
redundant!
Cheers

On Sun, Aug 22, 2010 at 7:58 PM, LU OGBE <oluogbe@xxxxxxxxxxxxxx> wrote:

Hi,

The thing is I had a very frustrating experience trying to get VStudio
2008
and SQL 2008 to work on my system. I don't know if it's because I was
trying
to install the full system but I had to do loads of system restores before
it finally sort of started working. Then I found out that I can't use
Solution management studio on Vista 64 bit.

Now I have upgraded my system to windows 7 64bit. I will like to learn
either Java or C# in no particular order, but will like to eventually
learn
web development using an IDE.

I don't mind learning to use VStudio and SQL, but all the installation and
configuration guides seem to be for the express editions of the
applications
& I've got the full application.

So if someone can tell me how to install VStudio 2008 and SQL 2008 on my
windows 7 64bit system for c# and web development, I will really
appreciate.
Thanks in advance.

*NB* I'm running JAWS 11

Regards,
LU




----- Original Message ----- From: "Birkir Rúnar Gunnarsson" <
birkir.gunnarsson@xxxxxxxxx>
To: <program-l@xxxxxxxxxxxxx>
Sent: Sunday, August 22, 2010 3:03 PM
Subject: [program-l] Re: Eclipse, Spring and Hibernate



 I]m a little confused

Eclipse is not "easier" IDE than visual studio, unless you prefer to
start in Java over, say, c#, the IDE is similar, thehot keys are
slightly different. I really like it, but I like visual studio just as
well.
If you want simple programming interfaces with few functionalities,
well, you may just want to use notepad and command line.
If you want a fully featured IDE, Eclipse is great for Java, and there
are plug ins for several other languages, but you can alsojust use
visual studio, it will not be any less difficult to learn.
For web development, you have to set up a web server, I]d imagine,
though, honestly, I can use a few tips on that aspect as well, since
I]ve never written Java server side code.
Cheers
=B

On 8/22/10, LU OGBE <oluogbe@xxxxxxxxxxxxxx> wrote:

Hello,

I have decided to explore using eclipse for java development & later web
development, till I'm brave enough to try visual studio again :)

However, I know it might be a little early to ask this question, but
what
is
the difference between eclipse, spring and hibernate? I tried to read
them
up but I'm still a little confused.

I read that Spring is also a development framework, & can be used for
web
development as well. So my questions are:
-  will it be better to try out spring instead of eclipse?
- What do I need to use eclipse for web development?
- Is it possible to use eclipse for c# development?

Thanks in advance.

Regards,
LU

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq


** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq




--
Kerneels Roos
Cell/SMS: +27 (0)82 309 1998
Skype: cornelis.roos

The early bird may get the worm, but the second mouse gets the cheese!

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: