Java technology for web development

I am a PHP programmer, but I am very interested in learning Java. Therefore, I decided to change the specialty from PHP to Java. At the moment, I have the opportunity to try a fairly simple web application (it should contain 2-3 forms, several pages with information from the database and the authorization module), and I also have the opportunity to choose any technology that I want. In addition, I have about 3 months to complete this task. I decided to develop a website with Java technologies for study. I already read a book about Java (P.Naughton's "Java2 Complete Reference"), and I'm currently reading B. Eckel's Thinking in Java. I clearly understand that this is not enough for effective development, but I want to at least try.

I would be very grateful for the advice, which framework (for example) or technology to choose (Spring, Grails, etc.) and on what main aspects and technologies of Java should I pay attention to?

Thanks in advance.

+4
source share
4 answers

Get a copy of Head First Servlets and JSP . He will guide you through the development of web applications, I would not immediately use spring after you have mastered the traditional servlets, you will be comfortable looking at spring Roo or spring MVC.

+6
source

I wrote about this a while ago, which you may find useful.

http://veerasundar.com/blog/2009/04/what-advice-will-you-give-for-a-j2ee-fresher/

Note. Despite the fact that this is my blog, I link it here because it has relevant content. This is not for any connections and tricks. :)

+2
source

If you have such simple requirements, just use Spring Roo . It might be an alternative to take a look at Ruby on Rails.

+1
source

One frame that you might want to see is Trindad / ADF.

Apache Trinidad is an open source environment that runs on top of JSF. This is a pure Java environment that allows you to define a web page using declarative XML. It works very well, since you spend much less time looking at the overall page layout and simply state what kind of functionality you want.

For instance:

<tr:commandButton text="Click me" actionListener="#{BackingBean.fireEvent}" /> 

Creates a button with the text "click me" and runs the fireEvent (ActionEvent ae) function on the BackingBean.

ADF is a similar structure, it contains many more bells and whistles and a much better JS API, but also not cheap.

+1
source

Source: https://habr.com/ru/post/1309553/


All Articles