So, as you migrate your application to newer application servers, make sure to update the versions of the Java EE deployment descriptors and XML documents to take advantage of the new EE features. Most developers do not know the versions of these files change with EE versions and that EE servers use the versions of these files to determine what EE standard to apply to your application. This is a quick reference for the most used Java EE deployment descriptors and XML documents. = "jdbc:postgresql://localhost:5432/widget" Ĭlass.forName("") = DriverManager.getConnection(connectionUrl, user, pass) = DriverManager.getConnection(connectionUrl) = "jdbc:derby:C:/My Databases/Derby/Test user= password= create=true" Derby Įmbedded (in-memory) Class.forName(".EmbeddedDriver") I seem to have to lookup this information a lot, so I figured it be good to have a reference all in one place. This is a quick reference for JDBC connections for common databases.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |