java-ee

Web application architecture for dummies

I was going to write a small web application in JavaEE (forum or guest) and I think how to do it, so to speak, according to F ... /?var1=1&var2=2 (i.e., in other words, a request was made with both the post and get parameters passed at the same time)?

How do I configure InteliJ IDEA Educational to use Java EE?

You need to study the JSP that are included in java EE. I'm trying to configure intelij-idea educational edition to use this ... d supports the use of Java EE. Help me set up the development environment. Thanks. Attaching screenshots from intelIJ

java.net.SocketException error: Too many open files when deploying to jboss-portal-2.7.2

When running jboss-portal-2.7.2, a message starts appearing in the logs from some point on: 2013-01-30 20:32:02,541 ERROR [or ... at java.lang.Thread.run(Thread.java:662) There are only about 20 .war modules in the deploy folder. How to solve it?

Best practices of project structure

Aside from the humorous (not without a bit of seriousness ) templates of Java projects with their "/main/java/com/seriouscom ... inimalistic and not grotesque standard that is easy to develop, and can also be demonstrated without shame to serious people?

vaadin 8 bakery app login

I use vaadin 8 + tomcat 7. The vaadin website presents the bakery demo application. Specifically, I am interested in the log ... sible from the vaadin project to an additional servlet. In general, how to implement the same login as in the demo project?

Error in web.xml

In the web structure.xml has the following code. <servlet> <servlet-name>MyServlet</servlet-name> ... The reason is in mapping, if you start the server without the second definition of servlet-mapping, then everything is fine.

Remove all characters from the string except letters and numbers in Java

Help! I can't remove all characters from the string except letters and numbers. In the beginning, I have a static method for ... r(self, ch); } } System.out.println("Количество других символов: " + n); System.out.println( self ); }

JavaEE out.println cannot resolve method

Started learning JavaEE. The project is built in IntelliJ IDEA on Maven, TomCat 9. Ideshka notes that it does not find the ... %> </p> <p> <% for (int i =0; i < 10; i++) { out.println(i); } %> </p>

Java Backend for Android

I'm writing a backend for a mobile platform. Previously, I wrote only for Web clients, there is already an almost ready-made ... ecurity and whether there are any nuances with working under mobile. I didn't find any normal examples. Thank you in advance!

Installing javax

The problem is this: you need to write a Java EE application, but there is no javax. Where can I get it from and how can I in ... ay I installed Java EE and the Glassfish server using plug-ins, but this did not solve the problem due to the lack of javax.

Java: how to specify a default value for Feign

Tell me, how can I set the default value in the parameter in the Feign client? Here's my code. I specified the default value ... @RequestParam("currency") String currency ); } I want to make the default value for the "code" parameter.

Tell me books on java ee [duplicate]

This question is already answered here: ... (1 answer) Closed 5 years ago. Preferably in Russian

Java implementation of the amount in words

Is there a library implementation of translating the sum into words in Russian? If not, how to implement it in the optimal way?

Error in the project using MyBatis

When compiling the Main class.java error occurs: Exception in thread "main" java.lang.ExceptionInInitializerError at com.siv ... urce="./UserMapper.xml"/> <mapper resource="./BlogMapper.xml"/> </mappers> </configuration>

Spring Boot. Generating war and running it in TomCat

Situation: I use Spring Boot. When running from under IDE, as I understand it, the built-in TomCat rises and the application ... s> </build> Who uses Spring Boot please tell me what my mistake is, maybe I'm doing something fundamentally wrong?

Determine which Java language keywords the file contains

I only googled contains, but for some reason it doesn't work.. apparently I'm doing something wrong keyWords - ArrayList< ... sortedList.add(g); counter++; } } }

What is Java EE?

I am studying Java SE for use in the web. I just can't figure out what the Enterprise Edition is. C SE is all clear - a set o ... n't understand what is happening in the world of Java EE at all. Can someone bring use case or write how EE can really help ?

Spring security: bad credentials-the login form doesn't work

Hello, when creating your own login form, there was a problem: when you try to log in, an error appears with the message bad ... word'> </div> <button type="submit" class="btn btn-success">Войти</button> </form:form>

Getting JSF properties

Good day, there is a JSF-2 project [ Netbeans 8 + JBoss as 7.1.1 + java ee 6 ] with two xhtml. Problem description: When sett ... </param-name> <param-value>Development</param-value> </context-param> </web-app>

Spring-EntityManagerFactory, How to enable JPA?

How to create EntityManagerFactory in Spring-mvc Maven project. XML or Java (the location of the EMF declaration is not impor ... to connect the classes dynamically. P. s. for the second week I have been fighting with EMF, not as I can not move further.