Some feelings about Java and .Net

xiaoxiao2021-03-06  42

I have been using JSP, what Struts, Hibernate has also developed a similar strut, but it is more simple and easy to use (of course, it is not enough, enough for it), in a lot of projects, There must be a certain role, and since it is also fascinated by Java's feelings, you can play freely, use a variety of design patterns to enhance your development, simplify your work, reduce workload.

But I have made several projects, I found that JSP is doing the client, it is not good enough. I always fantasize one day, write the B / S program to write the C / S program, drag the pull pull with the RAD tool, then write Code, JSF came out, it seems to be such a little, but it is not mature, and lacks the effective support of IDE. According to I know, only IBM's WebSphere Studio Application Developer 5.1 is supported, but this Dongdong is too resource, Take it. . . . . .

At this time, it coincides with .Net, this time is watching .NET, found .NET is very powerful. Net is very powerful, and some software products such as Excel / Word are also easier to interact, or some The design pattern has improved work efficiency, but I don't know if I am from the Java camp. The reason is to be a bad impression of the original ASP. I always think that ASP.NET has a gap between some aspects:

1. For the entire Web model, I think that MS has not taken into account some hierarchical development, so some things are not well supported, the most obvious is the design of Session / Request / Response, I thought I thought. NET will refer to some of the Java's things to improve these parts that have failed in the ASP, but I found that it is basically the ASP, such as my page's thing is handed over to the background business logic layer to do, after completion I want to write the return result into the response, and then take out these data from Response in the Class, which is demonstrated, which is conducive to the layering, and loosely coupled design, but in .NET (I use C #) , Response cannot transfer the data back to the page, I checked MSDN, I found that only use cookies to complete some of the functions of Key-Value, but God! Cookie? I can't stand it. If the client is banned with cookies? And what is safety?

2. In O / R mapping, there are many open source frames in Java, such as Hibernate is among the leaders, of course, there is also a NHibernate (please note the name, don't say it is made to the java hibernate), currently I haven't used it yet, it is not good to comment, but from the reflection of the Internet, it is still not mature.

It is just awareness of personal learning. Due to contact .Net soon, I don't know if they are right.

The biggest hope is to make better improvements to Session / Request / Response in the new version of the .NET framework, and I hope that the third-party development framework of .NET is ripe, huh, huh, so we are blessed.

转载请注明原文地址:https://www.9cbs.com/read-54176.html

New Post(0)