I've tried regular JDBC now. The code to insert is as follows:
import oracle.jdbc.*;
import java.sql.*;
//Which driver to use for connection. I'm assuming an Oracle DB here.
String driverClassName = "oracle.jdbc.OracleDriver";
//The connection URL.
// Oracle Client...
I'm assuming you already have the Oracle JDBC drivers.
If you have an application server, you can create an entity bean through the wizard: new->enterprise->EJB Entity Bean Modeler. Fill in the connection information, and everything else should be a cakewalk. No manual tweaks are necessary once...
Never mind, I found out that it's just JBuilder's internal appserver that is useless. The dedicated appserver works fine (most of the time).
On a side note, this board looks nearly dead...
I assume you are using codeinsight so no case sensitivity is involved.
Are you sure it shouldn't be
psvm(...)
{
new stan_GridBagLayoutTester();
}
It seems to me your business code must be in your constructor, so it must be constructed =).
If it's not the case, and you have this method...
Well, I for one simply 'run' the .jpx file by doubleclicking, or select in the file menu 'open file' and browse my way to the .jpx.
I've never tried the .jpr kind, so maybe it's a problem with the project type, or the file could be corrupt? Or maybe you've moved the files to another directory...
I'm new to EJB, and I've created an entity bean for an Oracle database.
When I run the container and my test client, the connection works fine. Then, when I run the test client again, I get a javax.naming.NameNotFoundException; it doesn't seem to be able to find the container anymore after the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.