当前的java桌面蓝图/最先进的?
我已经远离 Java 编程(除了一些 Android 开发人员)和桌面应用程序,但现在我想开发一个 Java 桌面应用程序作为个人项目。所以我想知道,这种应用程序目前的蓝图是什么?还是Swing和JDBC?
话虽如此,是否还会为一个简单的项目推荐一套技术?打个比方,我不想为了做一个简单的网页而读一本 800 页的 J2EE 书,如果你明白我的意思的话。
谢谢
I've been away from Java programming (except some Android dev) and desktop apps but now I want to develop a Java desktop app as a personal project. So I wonder, what's the current blueprint for this kind of app? Is still Swing and JDBC?
Having said that, would also recommend that set of technologies for a simple project? As an analogy, I don't want to read a 800 pages book on J2EE just to do a simple web page, if you know what I mean.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
做一些原型设计并选择:
可能还有更多,但这就是我尝试过的。从这些中,我喜欢 Swing。现在已经相当成熟了。这里有无数的教程。是的,Swing 的某些功能是相当痛苦的,但总的来说,我认为它仍然是 Java 的最佳桌面选择。
如果您喜欢声明式 UI,另一个有趣的事情是 YAML。查看这本 pdf 书。
至于第二部分,JDBC 仍然很流行,但是你可能会想到一些 ORM 框架(你可以轻松地在 google 上搜索一些或在 stackoverflow 上查找,最流行的一个是 Hibernate)。
Do a little prototyping and choose:
There is probably much more, but this is what I tried. From those, I liked Swing. It's pretty mature now. There are bazillion of tutorials over here. Yes, some things are pretty painful with Swing, but overally I think it's still best desktop choice for Java.
Another intersting thing, if you're into declarative UI, is YAML. Check this pdf book.
As for second part, JDBC is still pretty popular, but you might think of some ORM framework (you can easily google some or looke here on stackoverflow, most popular one is Hibernate).