Tagged Questions
8
votes
3answers
105 views
Would this be an efficient way to use MySQL?
I've recently learned how to use MySQL to store/retrieve data. I've created a MySQLManager class for creating connections and executing querys/updates. Would this be an efficient way to do so?
This ...
3
votes
2answers
89 views
Asking a user to take money from a checking account and move it to a savings account (Revised)
I made a few changes to the source code based on several suggestions I received yesterday. The changes I made were: improved the names of methods and variables to better describe what they do, passed ...
11
votes
7answers
1k views
Asking a user to take money from a checking account and move it to a savings account
I'm aiming to get this program right as I might show it at a job interview. The code below runs fine but I would like to know if there's anything that can be improved in terms of readability, good ...
7
votes
3answers
475 views
Are these Java MySQL connection classes and methods implementation the optimal?
I got three classes for MySQL Database access/manipulation,
First : Conector. It has got methods for connecting, disconnecting, querying and updating db.
Second : ...
2
votes
1answer
270 views
Optimize MySQL in a stored procedure
How should I optimize my code for better performance? When I execute the code outside of MySQL stored proc it is 500% faster.
MySQL stored procedure
...
7
votes
2answers
161 views
Servlet for querying database on some high-loaded system
What should the code do: Process client HTML requests, query database and return the answer in XML. Working with a high load.
I need to know how can it be optimized.
Is something terribly wrong with ...
4
votes
1answer
68 views
MySQL Java Connection with my application
the following is my code for the Java class connection to mysql server, i need to see if there is any suggestion to make it better.
this class not making the connection, it just control transactions, ...
1
vote
1answer
311 views
Client for handlersocket server
I wrote a simple client for handlersocket server, but I'm not a professional Java programmer and would like to know the opinion of Java developers on my code.
Well I have not yet decided how to ...
2
votes
1answer
225 views
Non-Blocking MySQL queries in Java
I wrote a non-blocking MySQL interface for java (wrapped around the standard mysql java connector).
I think the code to use it looks a bit ugly however...
...