jQuery in Action, 2nd edition*
The moose likes JBoss/WildFly and the fly likes How to convert Jboss EAR to Portlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to convert Jboss EAR to Portlet?" Watch "How to convert Jboss EAR to Portlet?" New topic
Author

How to convert Jboss EAR to Portlet?

Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8
I really need to convert from EAR to Portlet in Jboss . if anyone knows about it please reply

Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

How is an Portlet packaged? As a jar?


[My Blog] [JavaRanch Journal]
Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8
sorry. I didn't get what you mean.
Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8
We are doing project on .ear on eclipse. so we wanna make our infos on protlet. this is the only problem that we are facing. is it understandable? if not please let me know. thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Tuvshinjargal Narankhuu wrote:We are doing project on .ear on eclipse.

.ear is just a packaging type. .ear can contain various different components like EJBs, servlets etc...

Tuvshinjargal Narankhuu wrote:
so we wanna make our infos on protlet. this is the only problem that we are facing.

Portlet is a web component and has nothing to do with the packaging type. As far as i know, you can develop a portlet and package it in a .war which effectively means, you can even deploy it as .ear (with the .war inside it). So i don't get the question you are asking.
Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8
eclipse deer ear project uusgeed jboss portal dotor yaaj portlet bolgoj oruulj ireh ve?
We've created .ear project on eclipse but we don't know how to make it portlet and put into JBoss portal? This is all I want to know

tnx
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

eclipse deer ear project uusgeed jboss portal dotor yaaj portlet bolgoj oruulj ireh ve?

Huh?

Also, please use full words and not text-speak (such as tnx).

What reading have you done on what a portlet is and on how to develop a portlet? Portlets have very specific API requirements - most liekly you will have to write some additional code.

Also, what is in your EAR file? EJBs? A web app? Entity beans?

Without knowing details on what you have it is impossible to offer concrete suggestions.


JBoss In Action
Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8
my ear project includes Web application. Web application includes Entity, Session, iReport, EJB etc.

So I'm going to put my ear project into JBoss Portal as one of the part.


P.S Sorry for that another language. My friend told me that thing so i translated that and forgot to delete.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

You will have to write one or more portlets to access your EJBs. You will still deploy your EAR as an EAR; the portlets that you write you can either include as a WAR within the EAR or you can deploy it separately.
Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8
Tnx. I will try it
Tuvshinjargal Narankhuu
Greenhorn

Joined: Dec 16, 2009
Posts: 8

Is it possible to Create seam EAR project and make it Portlet then Put it in JBoss Portal as a Portlet?

If anyone know is please reply as soon as possible please.

Best Regards

Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Tuvshinjargal Narankhuu wrote:
Is it possible to Create seam EAR project and make it Portlet then Put it in JBoss Portal as a Portlet?

If anyone know is please reply as soon as possible please.


Hmm, you have been asking the same question over and over again. Peter already told you what needs to be done. Did you try that?
Gabriel Vince
Greenhorn

Joined: Feb 05, 2009
Posts: 24
Tuvshinjargal Narankhuu wrote:I really need to convert from EAR to Portlet in Jboss . if anyone knows about it please reply

Thanks


Hi,

seems there is a misunderstanding. There are people trying to help you and you don't know what information you need to provide.
We don't know how far are you familiar with portlet development.
Please note if you develop an ordinary web application (not important if it is EAR or WAR, we talk about its web representation), it usually means you cannot directly put it into a portal. You have to develop a portlet application what enables you to run it on a portal.

There is a shortcut - JSF-portlet bridge (e.g.http://labs.jboss.com/portletbridge) what enables you to integrate your JSF web app as a portlet, but still with few constraints (e.g. I think you cannot pass bean values as GET link params, ..). Still it works only if you have a JSF application as GUI.

Best regards
Gabriel

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert Jboss EAR to Portlet?