Eclipse Apache Derby [message #258508] |
Fri, 13 June 2008 11:11  |
Eclipse User |
|
|
|
Hi,
I am new to eclipse and I am trying to learn J2EE, creating a basic web
application that connects to a DB and retrieves the result set.
I have installed the required plug ins for Derby and I am trying to follow
a tutorial on the web.
I started eclipse using -clean and it still doesn't let me configure the
DB.
Its really sickening to use eclipse in that its not user friendly at all.
What good is an IDE if its not making it any easier for me to learn Java ?
Why don't people who created this IDE to make it user friendly for new
people like me?
Thats what people use most of the time in my office ... so I started using
eclipse.I think I could have gone the notepad way or rather use some other
IDE out there.
|
|
|
Re: Eclipse Apache Derby [message #258544 is a reply to message #258508] |
Fri, 13 June 2008 13:07   |
Eclipse User |
|
|
|
First, let me thank you for your kind words of praise.
I understand that you're frustrated. But addressing the folks who are
here and generally willing to help you with negativity is not a good way
to get help.
Having said that, if you can post some more details about the problem
you're having, maybe we can help.
What version of Eclipse are you using? What tutorial are you following?
What application server are you trying to connect to? What specifically
have you tried? Have any specific messages come up?
Is the problem with the IDE, or is something misconfigured in the
application server.
You need to help us help you. Again, being negative, or making snide
comments about a project that we all (obviously) care deeply for just
isn't a good way to get help.
FWIW, millions of software developers around the world can't *all* be
wrong...
Wayne
On Fri, 2008-06-13 at 15:11 +0000, sdh josh wrote:
> Hi,
>
> I am new to eclipse and I am trying to learn J2EE, creating a basic web
> application that connects to a DB and retrieves the result set.
> I have installed the required plug ins for Derby and I am trying to follow
> a tutorial on the web.
> I started eclipse using -clean and it still doesn't let me configure the
> DB.
> Its really sickening to use eclipse in that its not user friendly at all.
>
> What good is an IDE if its not making it any easier for me to learn Java ?
> Why don't people who created this IDE to make it user friendly for new
> people like me?
> Thats what people use most of the time in my office ... so I started using
> eclipse.I think I could have gone the notepad way or rather use some other
> IDE out there.
>
>
>
|
|
|
Re: Eclipse Apache Derby [message #258578 is a reply to message #258544] |
Fri, 13 June 2008 19:32  |
Eclipse User |
|
|
|
<off topic>
Wayne Beaton wrote:
....
>
> FWIW, millions of software developers around the world can't *all* be
> wrong...
>
Last time I checked Eclipse is less bad than the alternatives but it
is still not an easy thing to get started with. Diving right into
Derby with Eclipse is like taking one's very first swimming lesson and
proceeding directly to the top of the ten meter platform to jump in the
pool - it is going to hurt very badly very soon after one makes that
leap. It should not be a surprise when some poor soul comes up
sputtering, spitting and swearing, if they come up at all, after making
that jump, whether they brought it on themselves or not.
</off topic>
<back on topic>
To get started with Eclipse and Derby begin with a fresh vanilla Eclipse
SDK release install,
http://download.eclipse.org/eclipse/downloads/drops/R-3.3.2- 200802211800/index.php
and make sure you can run at least the HelloWorld plugin example that
comes with Eclipse. Once that works you can go get Derby - keep in mind
the Apache Derby with Eclipse docs at Apache.org are a bit whacked in
that they point to a broken (dead and gone?) Derby release that had a
very bad bug depending on which path you take through their site.
You probably want the latest version of the Derby Eclipse plug-ins
rather than an older one. You need both the core and the user interface
plug-ins to get started with Derby in Eclipse,
http://download.nextag.com/apache/db/derby/db-derby-10.4.1.3 /derby_core_plugin_10.4.1.648739.zip
http://download.nextag.com/apache/db/derby/db-derby-10.4.1.3 /derby_ui_plugin_1.1.2.zip
Carefully unpack these zip files into your eclipse directory. The Derby
zips are rooted at plugins\... so aim your extract operation at eclipse\
so the plug-in files land in the right place. Now restart Eclipse with
eclipse -clean.
When Eclipse restarts open the Help Contents from the Eclipse Help menu.
You should see Derby documentation in there. Read through it. Read
it again. Now try to follow whatever tutorial you were working through
and see if you can make it go. Remember that Eclipse tutorials are
usually out of date and should be read for clues and guidelines rather
than absolutely accurate direct instructions. Documentation is the last
action item in the Eclipse release train work and tutorials are usually
volunteer efforts and Apache is occasionally hard pressed to get their
how-to docs right as well. caveat implementor.
You will have to work through getting the Derby JDBC driver settings
right, and creating a project with a Derby nature. My experience is
that creating a plug-in project with a Derby nature which provides the
Derby database service(s) for other plug-ins to use works better than
trying to create a plug-in that includes both Derby and the real working
database application code.
By the way, it does get exponentially easier once you succeed the first
time and Eclipse really is the best free commercial use friendly open
source framework for anything at all and nothing in particular on the
market today.
</Good luck>
ps. it is easier to work with MySQL if you don't *require* Derby or
really need an embeddable Java database
|
|
|
Powered by
FUDForum. Page generated in 0.08209 seconds