Does jboss act as both application and web server? - java

I am creating a JavaEE Web Application which uses ExtJS4(Extended Javascript) for the GUI and Postgres database. I am planning to use the JBoss7 server. But I had a doubt that whether the JBoss 7 will act both as App Server and Web Server..?? Can anyone please help me with this..?
Also, I wanted to know if there is anything else that is required for developing the application?
Thanks in advance

JBoss AS 7.1.1.Final AS Certified Java EE 6 Full Profile
So you can think that Jboss AS 7.1.1.Final acts as an application and web server (it has a Servlet and EJB container)
Take a look on http://www.oracle.com/technetwork/java/javaee/tech/javaee6technologies-1955512.html

Related

Running EJB 2.1 on Wildfly 10

I want to run EJB 2.1 with Wildfly-10 AS
I have a server running on jBoss-EAP-6.2
Following are the configuration xml files
I wanna achieve to run a Web Module (JSF) with existing server (EJB 2.1) running on JBoss-EAP-6.2.
Following are the ideas
I can run JSF on JBoss-EAP-6.2 (possible?) that can communicate with EJB within the server
Deploy JSF on wildfly and it communicate with EJB through JBoss-EAP-6.2
MORE / FINDINGS
while deploying JSF on JBoss-6, I am getting blank page on opening, noting is shown
Wildfly does not support CMP files of EJB 2.1
The Idea
We have a desktop based [swing] application running on JDK 1.7, EJB 2.1, JBoss-EAP-6.2. I want to enable/implement its web module [JSF]
I want to reuse its server [EJB].
My idea is to use EJB 2.1 with JSF on Wildfly or deploy JSF to connect EJB on JBoss-EAP-6.2.
Try to migrate from EJB2.1 to new EJB3.x. I understand that it will be really a hard way, but it will be easier to extend this application further. Then you will be able to easily write your web module on JSF within WildFly 10.
Start new server instance of WildFly 10 and try to use remote EJB2.x interfaces within it to access business logic. And then use it to build your web module.
Develop REST facade on top of your EJB on jBoss-EAP and then use it the way you want it.
Start writing from scratch with new technologies.

How to migrate from JBoss Portal to GateIn?

I am new to GateIn portal.
We have developed portal using JBoss Portal 2.7, which has simple UIs.
How can I migrate my portal application from JBoss portal 2.7 to GateIn final release?
From where to get the idea about how to create a new simple portal using gatein and all the configuration that need to be done for that.
If your portlet/web application is based on EJB Components, then it can only be deployed on an application server, such as JBoss, which underlies all Entreprise Edition features.
GateIn portal is nothing but a portlet container, internally a web applcation that must be deployed in an application server such as Tomcat AS or JBoss AS, but a full EE Server is a must in order to have all entreprise java beans and services functional.
So the essence is, if you are using EJBs in your development, then you can only use an Applciation server with EJB container.

what is the web server in glassfish application server?

Can someone tell me the name of the web server embedded in glassfish. I know there are web servers like apache/jersey/jetty. Which one is embedded inside glassfish by default? Thank you.
Glassfish uses Grizzly framework for web server. See Project Grizzly for reference. Refer your server logs when it starts, it says about Grizzly framework there.

Tomcat + CxF ready for Production?

Our new project has Apache CXF based Producer SOAP web services.Now we are planning to move the Web Services to production.We are looking for a suitable Open Source container(Web Server or App Server) for deploying CXF Based Java Web Service.First option came to mind was Tomcat 7 .Just needed expert advice on
1. Whether combination of CXF and Tomcat based WebServices are currently used in production for other projects ?And is this solution scalable & Reliable ?
2. Are there other options to deploy CXF based webServices other than Tomcat in production ?
Thanks!
1 . Whether combination of CXF and Tomcat based WebServices are currently used in production for other projects ? And is this solution scalable & Reliable
It shouldn't give you any issue since it is compatible with a wide variety of application server. We are using Tomcat7 and Tomcat6 to deploy our CXF web services and they are in production for quite some time now without any issue.
2 . Are there other options to deploy CXF based webServices other than Tomcat in production ?
There are multiple options to deploy cxf based web-services
From the docs
Lightweight containers: deploy services in Jetty, Tomcat or Spring-based containers
JBI integration: deploy as a service engine in a JBI container such as ServiceMix, OpenESB or Petals
Java EE integration: deploy services in Java EE application servers such as Apache Geronimo, JOnAS, Redhat JBoss, OC4J, Oracle WebLogic,
and IBM WebSphere
Standalone Java client/server

Configuring JBoss Web Server to connect to JBoss AS

I am trying to configure JBoss Web Server to connect to JBoss AS. We have a JBoss Web Server installed and configured on one machine, and JBoss AS installed and configured on another machine. How do i configure my JBoss Web Server so that when i call some url mapped to web server, it will redirect me to actual application deployed on JBoss AS. I tried to search on the web for the same, but couldn't find the specifics. This might be a very simple scenario, but i am novice in configuring it. Can somebody help me over here?
Depends on kind of application you have on your JBoss AS server: EJB or web application.
If this is EJB application then create EJB client in your Servlet or JSP page or Servlet Filter or whatever else is used on JBoss Web Server. That client would call EJB component on JBoss AS.
If on JBoss AS server you have also web application, then simply redirect request to the JBoss AS or

Categories