Help! ! About JBUILDER X for J2EE application development.

xiaoxiao2021-03-06  14

I have written a session bean that I can accept two numbers and then calculate their and.

That is, in Session Bean: Calcbean

INT SUM (INT A, INT B) {} method.

Also, the Calchome interface, Calc.java (Remote Interface) has been implemented.

And I can deploy them to the JBoss server.

Write a Client.java with JBuilder X to test this session bean. . I have already achieved it.

The problem is, I want to write an HTML file, prompt the user to enter two numbers, then pass the two numbers as the parameters to a servlet, then access EJB in the servlet, calculate the result, and then print the result page to the user.

I know that all beans should put them in a directory, then put it in the jar file,

All servlets, HTML, JSP These web application files should be placed in the WAR file.

The JAR file and the WAR file are then merged, generate an EAR file, and deploy it to the JBoss server.

How does JBuilder X JBoss implement? ?

Thank you! ! My email: zjblur@yahoo.com.cn

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

New Post(0)