mobchannel-users Mailing List for ERP For Network & Service Management
Status: Pre-Alpha
Brought to you by:
mobchannel
You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Praveen G. <pra...@gm...> - 2009-07-26 19:07:29
|
Hi Folks, Hope you all are on track on the training exercises assigned to you. As i indicated the success of this program largely depends on your feed back and active involvement on the assignments and we have been making tremendous progress. Since you already have become confident about the build and deployment aspects of enterprise projects, we will now move to the development aspects. Please find the link for your next learning module - web tier development here - http://www.crimsoncomputing.com/university/books/enterpriseapp/ch4-webtier.doc . Please go through this and i would appreciate it if you can provide me feedback on what progress you made in improving yourself over the last week. Best Regards, -- Praveen George |
|
From: Praveen G. <pra...@gm...> - 2009-07-17 17:40:53
|
Depends on how you deloyed your web app, i think you are deploying the
project directory structure as such. Learn more about the WAR pacaging and
write a simple ant build.xml to package the app and then deploy in in
tomcat.
Once you do this please create a simple form for user registration, the form
should accept username , email , dob, sex.
Write a simple servlet which would accept the form submission and then write
a page which lists down registered users...
Create a simple database structure in sql in mysql db and write jdbc
prepared statements for inserting into the databse..
Once registration is submitted the list of registered users should be
listed...
Once this is complete , convert this to a simple web app tutorial and i will
let you know where to publish this article.
Best Regards
Praveen.
On Fri, Jul 17, 2009 at 9:37 AM, Arun Jose <jos...@ho...> wrote:
> Hi All,
>
> Good Morning, I created a simple application using eclipse.
>
> Steps :
> Step 1: New->Project -> WebProject Maven support (optional)
> Step 2: Name the Project and Click Finish.
>
> This is Just a page for welcome, This is my Jsp Page.
>
> And I deployed and page displayed in the browser.
>
> But the problem is that index.jsp was in the Webroot at first time, Then
> this was not working[Page not displayed in the browser]. But when I put
> the index.jsp in main folder then its working. My question is do we need to
> move index.jsp to the main folder than the Webroot folder? I have attached
> Picture.
>
> Regards
> Arun Jose.
>
>
> ------------------------------
> Date: Thu, 16 Jul 2009 12:26:13 -0700
>
> Subject: Re: Arun Jose
> From: pra...@gm...
> To: jos...@ho...
> CC: ng...@gm...; clt...@gm...;
> mob...@li...
>
> Go through the code setup guidelines at http://www.crimsoncomputing.comand setup the code. Once you do that make sure you can build the project..
> Also please write a simple tutorial on how to create a web project in
> eclipse using servlets, jsps etc and how to deploy it in tomcat.. We will
> proceed further once you send me the tutorial, this is to ensure that you
> have done the basic steps in creating a web applictions. Further information
> that we use is for intermediate level developers so you need to complete
> this to advance you to the next level..
>
> Best Regards
> Praveen.
>
>
> On Thu, Jul 16, 2009 at 11:21 AM, Arun Jose <jos...@ho...> wrote:
>
> Hi All,
>
> I checked javac, its running. I created a simple appln using Java in
> eclipse and run it as Java Appln.
>
> *
>
> public
> **class* Test {
>
> /**
>
> * *@param* args
>
> */
>
> *public* *static* *void* main(String[] args) {
>
> // *TODO* Auto-generated method stub
>
> *int* a= 5, b = 7;
>
> System.
> *out*.println("Sum :" + (a +b));
>
> }
>
> }
>
> This generated an Output Sum:12
>
> Regards
> Arun Jose.
>
> ------------------------------
> Date: Thu, 16 Jul 2009 10:24:20 -0700
> Subject: Re: Arun Jose
> From: pra...@gm...
> To: jos...@ho...
> CC: ng...@gm...; clt...@gm...;
> mob...@li...
>
> Adding the users list to the mailing thread...
> Arun ,
> Create a simple project in eclipse and make sure you can compile that and
> run, after that try running the ant build files. Without javac properly
> configured we cannot go further. There are lot of resources in the internet
> , so please search and get this resolved ASAP. After that we will go through
> the steps one by one.
>
> Best Regards
> Praveen.
>
>
> On Thu, Jul 16, 2009 at 10:17 AM, Praveen George <pra...@gm...
> > wrote:
>
> Arun,
> Let us make sure that Java jdk is installed and javac is visible, type
> javac on your command line and let us know what is the result?
>
> Best Regards
> Praveen.
>
>
> On Thu, Jul 16, 2009 at 9:24 AM, Arun Jose <jos...@ho...> wrote:
>
> Hi Siju,
>
> I tried to findout tools.jar file. But its not in the lib file. Do we have
> any other options or able to check my system using teamviewer?
>
> Regards,
> Arun Jose.
>
> ------------------------------
> Date: Wed, 15 Jul 2009 23:11:46 -0400
> Subject: Re: Arun Jose
> From: ng...@gm...
> To: jos...@ho...
> CC: pra...@gm...; clt...@gm...
>
>
> Not sure where Ant is trying to locate javac.
> one way I found is to add tools.jar in lib folder of jdk as an external-jar
> to jre through eclipse.
> window=> preferences==> installed jres==> see attachment.
>
> regards
> Siju
>
> On Wed, Jul 15, 2009 at 9:20 PM, Arun Jose <jos...@ho...> wrote:
>
> Hi Siju,
>
> I did all the other stuffs, When I trying to run the program they show this
> message.
>
>
> BUILD FAILED
> *
>
> C:\mobchannel\mobchannelWEB\build.xml:108: Unable to find a javac compiler;
> *
>
> com.sun.tools.javac.Main is not on the classpath.
>
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "C:\Program Files (x86)\Java\jre6"
>
> But I added system/user variable JAVA_HOME . After that I tried it , but
> the same error. I have attached the screen shot with it. Could you please
> figureout the problem?
>
> Thanking you
> Arun Jose.
>
> ------------------------------
> Date: Wed, 15 Jul 2009 02:05:31 -0400
> Subject: Re: Arun Jose
> From: ng...@gm...
> To: jos...@ho...
> CC: pra...@gm...; abr...@ya...
>
>
> see attachment-5.
>
> You will also need to set JAVA_HOME (just like JBOSS_HOME) to point to
> your JDK directory.
> *I assume you have Jre and Jdk already downloaded.*
>
> Regards
> Siju
>
> On Wed, Jul 15, 2009 at 1:31 AM, siju ng <ng...@gm...> wrote:
>
> *5. Building targets*
>
> Now you should be having the all modules in eclipse (see attachment 1)
>
> Now go to window-->show view-->Ant-->select ant -->ok
>
> Now you should see ant view ( see attachment 2)
>
> Now do -- add buildfiles ==> select module make ==> select
> the build file build.xml
> You should be able to see targets in the build for make
> module. (se attachment 3)
>
> you may select the target 'clean' and run it first .
> after that select the target 'install-libs' and run it .
>
> check for build successful or fail message in the console.
>
> Before going ahead with building other modules in the similar way,
>
> Install MYSQL 5.2 ( or 5.1 is the one that I am using ) ( good to
> note down the username and password for MYSQL during
> installation)
>
> also download the attached jar file (attachment 4) and put it in your
> eclispe-ant lib
> directory(.....\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib)
>
>
> Build the other modules in the order
> mobchannelData,
> mobchannel-persistence-manager,
> mobchannel-persistence-manager-test,
> mobchannelWEB and
> mobchannelEAR
>
> See the needed targets (attachment 5) that should be run using ant.
> while building setup-db target in build xml file for mobchannelData, it
> might prompt for Mysql username/password.
>
> Once build is successful, will move to starting jboss.
>
> Best Regards
> Siju
>
>
> On Wed, Jul 15, 2009 at 12:41 AM, siju ng <ng...@gm...> wrote:
>
> 4. *To checkout code from CVS*
>
> start eclipse,select your workspace as C:\mobchannel ( eclispe should be
> creating this directory if it doesn't exist).
>
> In Eclispe IDE,
> File --> Import --> CVS-->Projects from CVS==>next ==>
>
> Enter CVS host and location etc....,leave the password field untouched. (
> see the attachment 1) ==>
>
> next==>
>
> To download the make module, see the attachment 2.
>
> afterwards ==> next ....next ... finish ==> let eclipse finish downloading
> make module and you should see make directory in C:\mobchannel
>
>
> Similarly import the other modules.
>
> mobchannelData,
> mobchannel-persistence-manager,
> mobchannel-persistence-manager-test,
> mobchannelWEB and
> mobchannelEAR
>
>
> Now you should be having all these project modules in C:\mobchannel.
>
> Next step is to build them
>
> Best regards
> Siju
>
> On Wed, Jul 15, 2009 at 12:11 AM, siju ng <ng...@gm...> wrote:
> c
>
>
>
>
> ------------------------------
> Windows Live™ SkyDrive™: Get 25 GB of free online storage. Get it on your
> BlackBerry or iPhone.<http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009>
>
>
>
> ------------------------------
> Hotmail® has ever-growing storage! Don’t worry about storage limits. Check
> it out.<http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009>
>
>
>
>
> --
> Praveen George
>
>
>
>
> --
> Praveen George
>
>
> ------------------------------
> Windows Live™: Keep your life in sync. Check it out.<http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009>
>
>
>
>
> --
> Praveen George
>
>
> ------------------------------
> Hotmail® has ever-growing storage! Don’t worry about storage limits. Check
> it out.<http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009>
>
--
Praveen George
|
|
From: Praveen G. <pra...@gm...> - 2009-07-17 02:56:38
|
Hi Every One, I have published a draft version of the tutorial for setting up the project and build environment for an enterprise application. http://www.crimsoncomputing.com/university/books/enterpriseapp/ch2-environmentsetup.html Please read throught it and make sure that you understand the concepts well. At this point i will like to provide an assignment to each of you so that you can reflect on what you have learned till now Ajith, We have mentioned mechanisms on how to use the cvs for uploading a new project, downloading a new project etc.. Please find out command line alternatives for the cvs functions that i have mentioned in the doc and list them down. Siju, Please find out how you can do a code coverage analysis using grobo codecoverage and code duplication analysis using the simian tool kit and provide a minimal documentation on how you can integrate that with ant. Arun, Please learn how to debug a simple java application locally on the eclipse editor and write a small segment illustrating the learning. Best Regards Praveen. -- Praveen George |