简体   繁体   English

带有.NET数据库的Java Web应用程序

[英]Java Web Application with .NET Database

I was wondering if I could get some advise/suggestions if anyone has experience with the following situation. 我想知道如果有人对以下情况有经验,是否可以得到一些建议/建议。

So I want to develop a java web app that "talks" with a database that is already built out in .NET. 因此,我想开发一个Java Web应用程序,以与已经在.NET中建立的数据库“对话”。 I have experience coding java web apps in eclipse that talked to MySQL DBs so I don't think the database language is that concerning. 我有在Eclipse中与MySQL DB交谈过的Java Web应用程序编码方面的经验,因此我不认为数据库语言与之有关。

What methods would you go about to implement this? 您将采用什么方法来实现呢? Are there certain programs that are more useful than others? 是否有某些程序比其他程序有用? What frameworks should I use? 我应该使用什么框架? Also, examples that I found on the web seem so dated style wise, are there things I can do to web apps coded in eclipse to give it some pop? 另外,我在网络上发现的示例似乎在样式上过时了,是否可以对以eclipse编码的Web应用程序做些什么使它流行呢?

Thank you in advance 先感谢您

Microsoft has a JDBC driver for MSSQL. Microsoft具有用于MSSQL的JDBC驱动程序。

Refer to: http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx 请参阅: http : //msdn.microsoft.com/en-us/sqlserver/aa937724.aspx

Call me JDBC on any database. 在任何数据库上都称我JDBC

In these days, from the point of database vendor, they will give us a nice library (driver) to communicate their product from any (widely using) programming language. 如今,从数据库供应商的角度出发,他们将为我们提供一个不错的库(驱动程序),以使用任何(广泛使用的)编程语言来交流其产品。

Java is a big dealing programming language in world wide, so don't worry about database connection as this can be done by a jar featuring JDBC . Java在世界范围内是一种流行的编程语言,因此不必担心数据库连接,因为这可以通过具有JDBC的jar来完成。

So your challenge is JDBC driver to suite and map to required database brand and its version. 因此,您面临的挑战是如何将JDBC驱动程序套件化并映射到所需的数据库品牌及其版本。

You just need to worry to be right plug between the database's version and the JDBC driver library (jar file) version. 您只需要担心在数据库版本和JDBC驱动程序库(jar文件)版本之间正确插入即可。 Don't care on any database of MySQL, Oracle , MSSql or so on. 不在乎MySQL, Oracle ,MSSql等任何数据库。

Java app -> JDBC Driver -> Database Java应用-> JDBC驱动程序->数据库

Famous database's JDBC drivers; 著名数据库的JDBC驱动程序;

MSSql JDBC Driver (What you need one?) MSSql JDBC驱动程序 (您需要一个?)
MySql JDBC Driver MySql JDBC驱动程序
Oracle JDBC Driver Oracle JDBC驱动程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM