如何编写一个迷你项目,欢迎java中的前端和数据库中的后端。 [英] how to write a mini project havin the frontend in java and the backend in database.

查看:217
本文介绍了如何编写一个迷你项目,欢迎java中的前端和数据库中的后端。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请回答如何编写一个迷你项目程序,其中包含java中的前端和数据库中的后端?

Please answer for how to write a mini project program having the frontend in java and the backend in database?

推荐答案

这类问题无法通过快速答案论坛。请自己去做一些研究: Google [ ^ ]搜索, CodeProject文章 [ ^ ],书籍和其他教程 [ ^ ]。
This sort of question cannot be answered by a Quick Answers forum. Please go and do some research for yourself: Google[^] searches, CodeProject articles[^], books and other tutorials[^].


简化主要关键任务:



1.你将不得不看Java EE,以及像tomcat或glassfish这样的应用服务器。



2.使用任何DBMS(如mySql或SqlServer)创建数据库。



3.设置连接池。



4.对于前端代码,可以使用jdbc(更简单易懂) )或JPA(与JavaEE 6,一种较新的技术相关) />


5.像spring这样的框架,JSF可能会简化你的表示层(我开始时更喜欢JSF,春天更简单,但春天更流行)。
Simplifying the main key tasks:

1. You will have to look at Java EE, and an application server like tomcat, or glassfish.

2. Make your database using any DBMS- like mySql, or SqlServer.

3. Set the connection pool.

4. For your front-end code, you can use either jdbc(simpler to understand) or JPA(relaesed with JavaEE 6 , a newer technology).

5. Frameworks like spring,JSF may simplfy your presentation layer (I prefer JSF in the begining ,its simpler then spring, but spring is more populer).


这个项目应该用java base我们的java ++
This project should be encoded by java base our java++


这篇关于如何编写一个迷你项目,欢迎java中的前端和数据库中的后端。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆