Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,678 members, 7,801,959 topics. Date: Friday, 19 April 2024 at 06:59 AM

I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 - Software/Programmer Market - Nairaland

Nairaland Forum / Science/Technology / Programming / Software/Programmer Market / I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 (1413 Views)

I Need A Programmer That Is Abeokuta Based For An Urgent Deal / A Programmer That Can Design An Application For Ipad And Mobile Phone Is Needed / Train Yourself On C#, java, vb 2010, oracle 11g, asp.net, php and my sql, ccna, html, css, a+, mysql (2) (3) (4)

(1) (Reply) (Go Down)

I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by segsalerty(m): 9:29pm On Nov 07, 2009
i am currently working on a project , using my netbeans IDE , but i can only run the application on my netbean , it doesnt work when i BUILD it into Jar , it gives no error thou , Thats why i need help of a java programmer that has deployed a database driven application before to help me with this shit .
Thanks in advance
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by Bossman(m): 4:55pm On Nov 08, 2009
Exactly what do you need help with. What's kind of errors is it logging?
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by segsalerty(m): 6:04pm On Nov 08, 2009
no error ,
this is what happens, on my IDE , the application to launch a registration GUI form for the first time of application launch which had to check the database of EMPTY to determine if it has to show a login GUI if the user has regsitered before,
This works fine on IDE but when i build it as .jar file ,
if i launch it, no GUI is displayed , it does nothing probably coz it couldnt communicate with my database .
i think somthing shhould be done if deploying a java application that uses database .
pls help coz i look google and i couldnt find solution
Thanks
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by logica(m): 7:07pm On Nov 08, 2009
If you think the reason the form is not showing is because the application is not communicating with the database, don't you also think an exception would have been thrown? How did you handle exceptions in your application?
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by segsalerty(m): 9:50pm On Nov 08, 2009
nope , all my exceptions are correctly worked with , i damn sure nothing is wrong with my coding , The application will working very well when " RUN " without building/deploying as .jar file ,
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by logica(m): 9:55pm On Nov 08, 2009
Guy, you said you think the issue is as a result of the application not communicating with the database when deployed as a JAR. Now, my question to you is, don't you think if this is the issue, that an exception would have been thrown? Yet you said there are no exceptions/errors. What does that tell you? Assuming you handled exceptions well, then it means the issue is not because the application cannot communicate with the database.

QED.
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by logica(m): 10:12pm On Nov 08, 2009
OK. I'll give you just 1 blind tip (as I am really groping in the dark here):

Make sure all the required libraries (jar files) are in the class-path (on Windows, check that the environment variable %CLASSPATH% includes all the jar files delimited by semi-colon). One of such is definitely the MySQL JDBC driver. I don't know the rest.
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by segsalerty(m): 7:51am On Nov 09, 2009
Am not getting solution to my problem here cry can someone just tell me how he/she deployed a DATABASE driven software (MYSQL), I will see how i can grab from that ,
Thanks so much
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by Ghenghis(m): 8:52am On Nov 09, 2009
Take @logica's advice, build your jar and when running the app use something like this :

java -cp mysql.jar;myapp.jar net.segsalerty.AppStart

run the above in command line window (don't use java -jar or javaw, else you might miss the errors).
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by segsalerty(m): 11:35am On Nov 09, 2009
i said i used NETBEANS so that my GUI will be easier for me to design , its works perfectly when i run it on my netbeans, How do u want me to export shits from my netbeans and start recompiling on CMD?

My application is working as i do want it on netbeans , perfectly OK !
Am talking about deployment here.
Pls , i need someone that has deployed JAVA application that comm with MYsqL before to share his/her experience of deployment and how he/she did it pls, SIMPLE ! kiss
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by Ghenghis(m): 11:41am On Nov 09, 2009
@segsalerty you're not listening ,
i'm also talking deployment. The java command runs your app, it doesn't compile it.

Since you won't be using Netbeans to run your app in production, you either have to run it from the command line or use an executable jar.
the method i suggested is best, until you work out all the chinks in the app.

You have to create your jar file and place it in your classpath , with the mysql driver jar.
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by candylips(m): 11:55am On Nov 09, 2009
Is anyone here using MavenĀ  . Things like these are a piece of cake
Re: I Need Help Of A Java Programmer That Has Deployed A Mysql Driven Application B4 by Bossman(m): 12:03pm On Nov 09, 2009
I agree. Maven will take care of these sort of things. You just need to specify your dependencies and Maven will do the rest.

candylips:

Is anyone here using Maven . Things like these are a piece of cake

(1) (Reply)

A Web Developer Is Needed Urgently. / Free Ebook In It / Skilled App Programmer That Specialises With Cordova Needed

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 21
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.