|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Question about dependency management.. best practices?I'm working on a few projects currently which have a lot of external
libraries, and I'm looking for an efficient way to maintain these libraries for these different projects. I'm aware of a couple of possible solutions, such as ivy, maven, and even setting up a "third party libs" directory in my source control repository, but I'm interested in hearing from you all what your experience has been with this problem, and whether this is even much of a headache for other people. Thanks, Jeff _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?We use the in-house solution using ant as a build solution, but given
the choice, Maven is the way to go. On Aug 21, 2009, at 6:20 PM, Jeff Tougas wrote: > I'm working on a few projects currently which have a lot of external > libraries, and I'm looking for an efficient way to maintain these > libraries for these different projects. I'm aware of a couple of > possible solutions, such as ivy, maven, and even setting up a "third > party libs" directory in my source control repository, but I'm > interested in hearing from you all what your experience has been with > this problem, and whether this is even much of a headache for other > people. > > Thanks, > Jeff > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Ivy is good for pure dependency management and allows you to use ant, etc...
Ivy combined with a proximity server (or archiva, etc...) is a good way to manage your libraries, especially if you want to publish your own projects as libraries. Ivy is a bit quirky, but once you get the hang of it, its not too bad. I'd rather deal with the quirks of ivy and have the freedom of ant vs maven. This could probably bring up a whole other debate on ivy vs maven. Lots of people like maven and are strong evangelists for it. Either way, you can setup a maven repository proxy server (proximity) internally and ivy or maven can use it. Your choose both do the job pretty well. - Dan On Fri, Aug 21, 2009 at 7:34 PM, Se Hee Lee<tosehee@...> wrote: > We use the in-house solution using ant as a build solution, but given > the choice, Maven is the way to go. > > > On Aug 21, 2009, at 6:20 PM, Jeff Tougas wrote: > >> I'm working on a few projects currently which have a lot of external >> libraries, and I'm looking for an efficient way to maintain these >> libraries for these different projects. I'm aware of a couple of >> possible solutions, such as ivy, maven, and even setting up a "third >> party libs" directory in my source control repository, but I'm >> interested in hearing from you all what your experience has been with >> this problem, and whether this is even much of a headache for other >> people. >> >> Thanks, >> Jeff >> >> _______________________________________________ >> ajug-members mailing list >> ajug-members@... >> http://www.ajug.org/mailman/listinfo/ajug-members > > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Regards, Ramesh > Date: Fri, 21 Aug 2009 20:32:08 -0400 > From: driedtoast@... > To: ajug-members@... > Subject: Re: [ajug-members] Question about dependency management.. best practices? > > Ivy is good for pure dependency management and allows you to use ant, etc... > > Ivy combined with a proximity server (or archiva, etc...) is a good > way to manage your libraries, > especially if you want to publish your own projects as libraries. > > Ivy is a bit quirky, but once you get the hang of it, its not too bad. > I'd rather deal with the quirks of ivy and have the freedom of ant vs maven. > > This could probably bring up a whole other debate on ivy vs maven. > Lots of people like maven and are strong evangelists for it. > > Either way, you can setup a maven repository proxy server (proximity) > internally and ivy or maven can use it. > > Your choose both do the job pretty well. > > - Dan > > > > On Fri, Aug 21, 2009 at 7:34 PM, Se Hee Lee<tosehee@...> wrote: > > We use the in-house solution using ant as a build solution, but given > > the choice, Maven is the way to go. > > > > > > On Aug 21, 2009, at 6:20 PM, Jeff Tougas wrote: > > > >> I'm working on a few projects currently which have a lot of external > >> libraries, and I'm looking for an efficient way to maintain these > >> libraries for these different projects. I'm aware of a couple of > >> possible solutions, such as ivy, maven, and even setting up a "third > >> party libs" directory in my source control repository, but I'm > >> interested in hearing from you all what your experience has been with > >> this problem, and whether this is even much of a headache for other > >> people. > >> > >> Thanks, > >> Jeff > >> > >> _______________________________________________ > >> ajug-members mailing list > >> ajug-members@... > >> http://www.ajug.org/mailman/listinfo/ajug-members > > > > > > _______________________________________________ > > ajug-members mailing list > > ajug-members@... > > http://www.ajug.org/mailman/listinfo/ajug-members > > > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members Are you an untamed, bizarre or daring explorer? Find out now! Drag n' drop _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?For me, it's Maven all the way. kw Sent from my iPhone
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Though Maven has a learning curve, it is worth doing it. It provides a repository and also enforces(you could opt not to though) a uniform structure of source.
Have not worked on Ivy, but definitely Maven is very good.
Thanks
Raghu On Fri, Aug 21, 2009 at 10:01 PM, Kerry Wilson <kerry@...> wrote:
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Gradle [http://www.gradle.org/] On Fri, Aug 21, 2009 at 10:28 PM, Raghavendra Anahosur <ranahosur@...> wrote: Though Maven has a learning curve, it is worth doing it. It provides a repository and also enforces(you could opt not to though) a uniform structure of source. _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Hi,
Just my 2 cents - Having worked with Maven2 for several years now, it certainly has its quirks (Getting all the plugins play nice to each other, the complexity of multi-module projects etc). Overall though, it is awesome. And it became so much better over the years. Dependencies management can be a bit 'interesting' at times, but using tools like Nexus or Artifactory helps a lot. Also, m2eclipse provides some really nice capabilities for visualizing dependencies across your project. Another wonderful side-effect of Maven is its 'recomendation' towards a standardized project structure. These days you can check out any Maven-based OSS project and you immediately feel like being at home. No need to 'learn' an ant script. Cheers, Gunnar Jus wrote: > > Gradle [http://www.gradle.org/] > > > On Fri, Aug 21, 2009 at 10:28 PM, Raghavendra Anahosur > <ranahosur@... <mailto:ranahosur@...>> wrote: > > Though Maven has a learning curve, it is worth doing it. It > provides a repository and also enforces(you could opt not to > though) a uniform structure of source. > Have not worked on Ivy, but definitely Maven is very good. > > Thanks > Raghu > > > On Fri, Aug 21, 2009 at 10:01 PM, Kerry Wilson > <kerry@... <mailto:kerry@...>> wrote: > > For me, it's Maven all the way. > > kw > > Sent from my iPhone > > On Aug 21, 2009, at 8:23 PM, Ramesh Rajamani > <rameshrajamani@... > <mailto:rameshrajamani@...>> wrote: > >> I have written ant build script for Source repository, >> development server, testing server and production server for >> the entire project using normal ant which does similar thing >> like maven... >> >> Regards, >> Ramesh >> >> >> >> >> > Date: Fri, 21 Aug 2009 20:32:08 -0400 >> > From: driedtoast@... <mailto:driedtoast@...> >> > To: ajug-members@... <mailto:ajug-members@...> >> > Subject: Re: [ajug-members] Question about dependency >> management.. best practices? >> > >> > Ivy is good for pure dependency management and allows you >> to use ant, etc... >> > >> > Ivy combined with a proximity server (or archiva, etc...) >> is a good >> > way to manage your libraries, >> > especially if you want to publish your own projects as >> libraries. >> > >> > Ivy is a bit quirky, but once you get the hang of it, its >> not too bad. >> > I'd rather deal with the quirks of ivy and have the freedom >> of ant vs maven. >> > >> > This could probably bring up a whole other debate on ivy vs >> maven. >> > Lots of people like maven and are strong evangelists for it. >> > >> > Either way, you can setup a maven repository proxy server >> (proximity) >> > internally and ivy or maven can use it. >> > >> > Your choose both do the job pretty well. >> > >> > - Dan >> > >> > >> > >> > On Fri, Aug 21, 2009 at 7:34 PM, Se Hee >> Lee<tosehee@... <mailto:tosehee@...>> wrote: >> > > We use the in-house solution using ant as a build >> solution, but given >> > > the choice, Maven is the way to go. >> > > >> > > >> > > On Aug 21, 2009, at 6:20 PM, Jeff Tougas wrote: >> > > >> > >> I'm working on a few projects currently which have a lot >> of external >> > >> libraries, and I'm looking for an efficient way to >> maintain these >> > >> libraries for these different projects. I'm aware of a >> couple of >> > >> possible solutions, such as ivy, maven, and even setting >> up a "third >> > >> party libs" directory in my source control repository, >> but I'm >> > >> interested in hearing from you all what your experience >> has been with >> > >> this problem, and whether this is even much of a >> headache for other >> > >> people. >> > >> >> > >> Thanks, >> > >> Jeff >> > >> >> > >> _______________________________________________ >> > >> ajug-members mailing list >> > >> ajug-members@... <mailto:ajug-members@...> >> > >> http://www.ajug.org/mailman/listinfo/ajug-members >> > > >> > > >> > > _______________________________________________ >> > > ajug-members mailing list >> > > ajug-members@... <mailto:ajug-members@...> >> > > http://www.ajug.org/mailman/listinfo/ajug-members >> > > >> > >> > _______________________________________________ >> > ajug-members mailing list >> > ajug-members@... <mailto:ajug-members@...> >> > http://www.ajug.org/mailman/listinfo/ajug-members >> >> ------------------------------------------------------------------------ >> Are you an untamed, bizarre or daring explorer? Find out now! >> Drag n' drop <http://www.ExploreMyWay.com> >> _______________________________________________ >> ajug-members mailing list >> ajug-members@... <mailto:ajug-members@...> >> http://www.ajug.org/mailman/listinfo/ajug-members > > _______________________________________________ > ajug-members mailing list > ajug-members@... <mailto:ajug-members@...> > http://www.ajug.org/mailman/listinfo/ajug-members > > > > _______________________________________________ > ajug-members mailing list > ajug-members@... <mailto:ajug-members@...> > http://www.ajug.org/mailman/listinfo/ajug-members > > > ------------------------------------------------------------------------ > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?How manageable is gradle?
Just curious, looks like an interesting option as well. Similar to a buildr approach. - Dan On Fri, Aug 21, 2009 at 11:47 PM, Jus<jusyes@...> wrote: > > Gradle [http://www.gradle.org/] > > On Fri, Aug 21, 2009 at 10:28 PM, Raghavendra Anahosur <ranahosur@...> > wrote: >> >> Though Maven has a learning curve, it is worth doing it. It provides a >> repository and also enforces(you could opt not to though) a uniform >> structure of source. >> Have not worked on Ivy, but definitely Maven is very good. >> Thanks >> Raghu >> >> On Fri, Aug 21, 2009 at 10:01 PM, Kerry Wilson <kerry@...> >> wrote: >>> >>> For me, it's Maven all the way. >>> kw >>> >>> Sent from my iPhone >>> On Aug 21, 2009, at 8:23 PM, Ramesh Rajamani <rameshrajamani@...> >>> wrote: >>> >>> I have written ant build script for Source repository, development >>> server, testing server and production server for the entire project using >>> normal ant which does similar thing like maven... >>> >>> Regards, >>> Ramesh >>> >>> >>> >>> >>> > Date: Fri, 21 Aug 2009 20:32:08 -0400 >>> > From: driedtoast@... >>> > To: ajug-members@... >>> > Subject: Re: [ajug-members] Question about dependency management.. best >>> > practices? >>> > >>> > Ivy is good for pure dependency management and allows you to use ant, >>> > etc... >>> > >>> > Ivy combined with a proximity server (or archiva, etc...) is a good >>> > way to manage your libraries, >>> > especially if you want to publish your own projects as libraries. >>> > >>> > Ivy is a bit quirky, but once you get the hang of it, its not too bad. >>> > I'd rather deal with the quirks of ivy and have the freedom of ant vs >>> > maven. >>> > >>> > This could probably bring up a whole other debate on ivy vs maven. >>> > Lots of people like maven and are strong evangelists for it. >>> > >>> > Either way, you can setup a maven repository proxy server (proximity) >>> > internally and ivy or maven can use it. >>> > >>> > Your choose both do the job pretty well. >>> > >>> > - Dan >>> > >>> > >>> > >>> > On Fri, Aug 21, 2009 at 7:34 PM, Se Hee Lee<tosehee@...> wrote: >>> > > We use the in-house solution using ant as a build solution, but given >>> > > the choice, Maven is the way to go. >>> > > >>> > > >>> > > On Aug 21, 2009, at 6:20 PM, Jeff Tougas wrote: >>> > > >>> > >> I'm working on a few projects currently which have a lot of external >>> > >> libraries, and I'm looking for an efficient way to maintain these >>> > >> libraries for these different projects. I'm aware of a couple of >>> > >> possible solutions, such as ivy, maven, and even setting up a "third >>> > >> party libs" directory in my source control repository, but I'm >>> > >> interested in hearing from you all what your experience has been >>> > >> with >>> > >> this problem, and whether this is even much of a headache for other >>> > >> people. >>> > >> >>> > >> Thanks, >>> > >> Jeff >>> > >> >>> > >> _______________________________________________ >>> > >> ajug-members mailing list >>> > >> ajug-members@... >>> > >> http://www.ajug.org/mailman/listinfo/ajug-members >>> > > >>> > > >>> > > _______________________________________________ >>> > > ajug-members mailing list >>> > > ajug-members@... >>> > > http://www.ajug.org/mailman/listinfo/ajug-members >>> > > >>> > >>> > _______________________________________________ >>> > ajug-members mailing list >>> > ajug-members@... >>> > http://www.ajug.org/mailman/listinfo/ajug-members >>> >>> ________________________________ >>> Are you an untamed, bizarre or daring explorer? Find out now! Drag n' >>> drop >>> >>> _______________________________________________ >>> ajug-members mailing list >>> ajug-members@... >>> http://www.ajug.org/mailman/listinfo/ajug-members >>> >>> _______________________________________________ >>> ajug-members mailing list >>> ajug-members@... >>> http://www.ajug.org/mailman/listinfo/ajug-members >>> >> >> >> _______________________________________________ >> ajug-members mailing list >> ajug-members@... >> http://www.ajug.org/mailman/listinfo/ajug-members >> > > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > > _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?The standard project structure, enables IDE's to be able to write plugins on top of it and to able to work seamlessly giving a wonderful development experience.
Creating a new project (atelast with intellij) is just opening the pom.xml only and it figures out the rest. So you are up and ready to do development within seconds ~Parvinder Marie von Ebner-Eschenbach - "Even a stopped clock is right twice a day." On Sat, Aug 22, 2009 at 1:02 AM, Gunnar Hillert <gunnar@...> wrote: Hi, _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Maybe I'm just weird but I'm starting to use Maven and NetBeans for my new project and it's been really easy. Given, I bought and read a Maven book before I started. Added Repositories to the master POM, added dependencies to the individual POMs and all was handled. Just took NetBeans a second to catch up to me. :)
Just my $0.02 _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. bestpractices?My team has switched to Netbeans from eclipse using
Maven (a choice made by each developer after using NB for a week). We have
found the support to be first class and much improved over our eclipse
stack. Even better still, Maven allows us to use whatever IDE we prefer
without any problems.
kw
From: arrigoni.andrew@...
Sent: Saturday, August 22, 2009 2:11 PM
To: ajug-members@...
Subject: Re: [ajug-members] Question about dependency management..
bestpractices? Just my $0.02
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?I agree with whats been said. Maven does have a more steep learning curve, but it is so useful as a dependancy repository and project creation tool it really makes it worth it.
I am an ant guy, so it took me a bit to warm up to maven but it still allows you to leverage your ant builds and other types of build mechanisms. now that i have seen it in action, i really feel its great.
however, there have been some great tools listed on this thread, and i am anxious to look into some of them as well.
Regards,
Steven Guitar
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
basic crud appi have educational/book knowledge (only-mostly) (hobby) of java, ansi
sql (oracle), php, web/html/ftp/tcp-ip/etc/blah and want to work with a db online (a basic crud app with java/elcipse-ide)- can anyone help me get started, i run eclipse and am not sure what to do first... i have an up and running mysql db on a redhat server and have made several simple crud apps with php/mysql using a plain text editor but am lost after i start eclipse; i know basic programming code concepts and want to get into the power of an ide (specifically eclipse); i've done it in netbeans because of all of its projects types to choose from in that wizard thing... anyways, if anyone can see what i'm asking i would appreciate the 1 to 20 (or so) steps it would take to accomplish this; example of what i'm asking for if someone will take me up on it... 1)click new project, blah/etc... 2)click blah to add db connection type,.establish connection parameters/settings, etc/blah... establish connection... 3)click rrrew to choose the table to work with; 4)click xyz to add fields to have shown on form/etc 5)click abc123 to apply basic security parameters 6)click mnop to insert a bar graph that you can bind to a field in the table 7)click yrtux to add an insert_new_record button which will load a new form that will adjust to the data type of the chosen field(s) in the table 8)click jhmn to finish or publish; thank you for your time... _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?Interestingly enough there is already a stream of Ivy vs Maven in a
bunch of other mailing lists. Here is a pretty summarization: http://www.infoq.com/news/2008/01/maven-debate On Sat, Aug 22, 2009 at 3:11 PM, Andrew Arrigoni<arrigoni.andrew@...> wrote: > Maybe I'm just weird but I'm starting to use Maven and NetBeans for my new > project and it's been really easy. Given, I bought and read a Maven book > before I started. Added Repositories to the master POM, added dependencies > to the individual POMs and all was handled. Just took NetBeans a second to > catch up to me. :) > > Just my $0.02 > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > > _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: basic crud appI suggest Netbeans with Grails for quickly creating CRUD apps.
Sent from my iPhone On Aug 22, 2009, at 3:49 PM, 521 <521@...> wrote: > i have educational/book knowledge (only-mostly) (hobby) of java, ansi > sql (oracle), php, web/html/ftp/tcp-ip/etc/blah and want to work > with a > db online (a basic crud app with java/elcipse-ide)- can anyone help > me > get started, i run eclipse and am not sure what to do first... i > have an > up and running mysql db on a redhat server and have made several > simple > crud apps with php/mysql using a plain text editor but am lost after i > start eclipse; i know basic programming code concepts and want to get > into the power of an ide (specifically eclipse); i've done it in > netbeans because of all of its projects types to choose from in that > wizard thing... anyways, if anyone can see what i'm asking i would > appreciate the 1 to 20 (or so) steps it would take to accomplish this; > > example of what i'm asking for if someone will take me up on it... > > 1)click new project, blah/etc... > 2)click blah to add db connection type,.establish connection > parameters/settings, etc/blah... establish connection... > 3)click rrrew to choose the table to work with; > 4)click xyz to add fields to have shown on form/etc > 5)click abc123 to apply basic security parameters > 6)click mnop to insert a bar graph that you can bind to a field in > the table > 7)click yrtux to add an insert_new_record button which will load a new > form that will adjust to the data type of the chosen field(s) in the > table > 8)click jhmn to finish or publish; > > thank you for your time... > > > > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: basic crud appIDEs are helpful at generating code and configuration files for you. This can save you lots of time, but it also can provide you a disservice when you are trying to learn how something is done as it insulates you from the important details. What you are trying to do is not that complicated so I would suggest that you learn how to do it manually and then learn the IDE shortcuts later. Sometimes the IDE plugins with their good intentions can actually make a process more cumbersome.
Here is one path you could follow if you want to learn how to do this manually: 1) Install/Configure a database with the authentication credentials and table structure you want. 2) Write a class that exposes access to this data: methods to push data into the database and methods to pull data from the database. You'll do this with JDBC. There are many examples on the internet of how to use JDBC. 3) Write some JSPs that use this class to expose the database to the user. 4) Compile your classes and package your JSPs and classes into a WAR file. 5) Deploy this WAR into a servlet container. Tomcat is a good choice. Start basic and add complexity later. Once you get this working you can make it easier to build by writing an ant script to do builds and deploys for you. You might want to use a web framework to clean up your JSPs. Maybe you'll want to use Hibernate or EJB3 to make the data access less complex. Add things one piece at a time. By taking this approach you'll learn how things work and why technologies exist. Once you understand them, then I would suggest learning how the IDE can automate some of this for you.
On Sat, Aug 22, 2009 at 4:49 PM, 521 <521@...> wrote: i have educational/book knowledge (only-mostly) (hobby) of java, ansi _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: basic crud appThere is a big learning curve to Eclipse, so I feel your pain :-).
I've been using Eclipse in one flavor or another, almost exclusively since about the year 2000. Try the Adobe Flex book: Adobe FLEX 3 - Training From The Source. The reasons I say that are many: 1. It's all in Eclipse. 2. It leads you, in a tutorial fashion through most all the FUNCTIONALITY I see you are wanting to learn below. I'm just finishing it up this week, before using it to start a major project. It's a pretty good book, and any chapters you want to skip, they give you a way to just copy in the chapter's code so you can go on to the chapter you're interested in at the time. 3. It will generate ActionScript, which is close enough to java, that you won't really feel much of a difference. (Yes, there are some syntactical differences, but not enough to matter for a beginner.) You can later easily shift to pure java, if you like. I would take the opposite approach from that stated below, i.e. I would first do it with the IDE and generated code, and then, if you still want to learn to be a better software engineer and enjoy the learning, force yourself to re-write it "manually" to learn how it works behind the scenes. If you just want to stay at the B/A or manager level, you might find more productive and fun ways to make your money than learning to be a software engineer. Just depends on what gets you up in the morning. :-) Ben Ethridge On Sun, Aug 23, 2009 at 9:32 AM, Shane Crosby<maccroz@...> wrote: > IDEs are helpful at generating code and configuration files for you. This > can save you lots of time, but it also can provide you a disservice when you > are trying to learn how something is done as it insulates you from the > important details. What you are trying to do is not that complicated so I > would suggest that you learn how to do it manually and then learn the IDE > shortcuts later. Sometimes the IDE plugins with their good intentions can > actually make a process more cumbersome. > > Here is one path you could follow if you want to learn how to do this > manually: > > 1) Install/Configure a database with the authentication credentials and > table structure you want. > 2) Write a class that exposes access to this data: methods to push data into > the database and methods to pull data from the database. You'll do this > with JDBC. There are many examples on the internet of how to use JDBC. > 3) Write some JSPs that use this class to expose the database to the user. > 4) Compile your classes and package your JSPs and classes into a WAR file. > 5) Deploy this WAR into a servlet container. Tomcat is a good choice. > > Start basic and add complexity later. Once you get this working you can > make it easier to build by writing an ant script to do builds and deploys > for you. You might want to use a web framework to clean up your JSPs. > Maybe you'll want to use Hibernate or EJB3 to make the data access less > complex. Add things one piece at a time. > > By taking this approach you'll learn how things work and why technologies > exist. Once you understand them, then I would suggest learning how the IDE > can automate some of this for you. > > On Sat, Aug 22, 2009 at 4:49 PM, 521 <521@...> wrote: >> >> i have educational/book knowledge (only-mostly) (hobby) of java, ansi >> sql (oracle), php, web/html/ftp/tcp-ip/etc/blah and want to work with a >> db online (a basic crud app with java/elcipse-ide)- can anyone help me >> get started, i run eclipse and am not sure what to do first... i have an >> up and running mysql db on a redhat server and have made several simple >> crud apps with php/mysql using a plain text editor but am lost after i >> start eclipse; i know basic programming code concepts and want to get >> into the power of an ide (specifically eclipse); i've done it in >> netbeans because of all of its projects types to choose from in that >> wizard thing... anyways, if anyone can see what i'm asking i would >> appreciate the 1 to 20 (or so) steps it would take to accomplish this; >> >> example of what i'm asking for if someone will take me up on it... >> >> 1)click new project, blah/etc... >> 2)click blah to add db connection type,.establish connection >> parameters/settings, etc/blah... establish connection... >> 3)click rrrew to choose the table to work with; >> 4)click xyz to add fields to have shown on form/etc >> 5)click abc123 to apply basic security parameters >> 6)click mnop to insert a bar graph that you can bind to a field in the >> table >> 7)click yrtux to add an insert_new_record button which will load a new >> form that will adjust to the data type of the chosen field(s) in the table >> 8)click jhmn to finish or publish; >> >> thank you for your time... >> >> >> >> >> _______________________________________________ >> ajug-members mailing list >> ajug-members@... >> http://www.ajug.org/mailman/listinfo/ajug-members > > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > > _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: Question about dependency management.. best practices?I've started using maven as my primary build tool at home and love it,
but it does have it's quirks. I needed to learning it because it's being used in a lot of books, but I've found that about 50-60% of the time the code wouldn't build correctly, with that number being even higher on older books where the dependencies were out of date. However, I have to question it's usefulness as an enterprise application, mainly because of the learning curve. It seems that anyone you brought in would need to already be familiar with Maven because you wouldn't want to lose the time getting them up to speed and learning all the quirks. You could end up in the situation where you would have to pass on someone you really like just because of the build tool. Maybe once ( or if ) Maven catches on and becomes standard it would make more sense to me at the enterprise level. Maybe a hybrid approach might be best where the lead developer uses Maven and manages everything while the rest of the team uses an ant script ( with the maven plugin for ant )) On Fri, 2009-08-21 at 18:20 -0400, Jeff Tougas wrote: > I'm working on a few projects currently which have a lot of external > libraries, and I'm looking for an efficient way to maintain these > libraries for these different projects. I'm aware of a couple of > possible solutions, such as ivy, maven, and even setting up a "third > party libs" directory in my source control repository, but I'm > interested in hearing from you all what your experience has been with > this problem, and whether this is even much of a headache for other > people. > > Thanks, > Jeff > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
|
|
Re: basic crud app521,
Here is another vote for the Grails option. Groovy and Grails are known for high productivity. There are also easy to learn. You can download the first chapter from Grails in Action to get started. It will quickly show you how to set-up a simple CRUD app. Cf. with the below link. I expect you can also find helpful online tutorials. http://www.manning.com/gsmith/ We also have the Atlanta G&G SIG which will be meeting this Tuesday evening. Cf. with the AJUG web site for further details on that. And, in case you're interested, Netbeans provides excellent support for both Groovy and Grails. Hope this helps, Steve On Sat, Aug 22, 2009 at 4:49 PM, 521<521@...> wrote: > i have educational/book knowledge (only-mostly) (hobby) of java, ansi > sql (oracle), php, web/html/ftp/tcp-ip/etc/blah and want to work with a > db online (a basic crud app with java/elcipse-ide)- can anyone help me > get started, i run eclipse and am not sure what to do first... i have an > up and running mysql db on a redhat server and have made several simple > crud apps with php/mysql using a plain text editor but am lost after i > start eclipse; i know basic programming code concepts and want to get > into the power of an ide (specifically eclipse); i've done it in > netbeans because of all of its projects types to choose from in that > wizard thing... anyways, if anyone can see what i'm asking i would > appreciate the 1 to 20 (or so) steps it would take to accomplish this; > > example of what i'm asking for if someone will take me up on it... > > 1)click new project, blah/etc... > 2)click blah to add db connection type,.establish connection > parameters/settings, etc/blah... establish connection... > 3)click rrrew to choose the table to work with; > 4)click xyz to add fields to have shown on form/etc > 5)click abc123 to apply basic security parameters > 6)click mnop to insert a bar graph that you can bind to a field in the table > 7)click yrtux to add an insert_new_record button which will load a new > form that will adjust to the data type of the chosen field(s) in the table > 8)click jhmn to finish or publish; > > thank you for your time... > > > > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > _______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |