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
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
posted
0
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
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.
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
posted
0
Tnx. I will try it
Tuvshinjargal Narankhuu
Greenhorn
Joined: Dec 16, 2009
Posts: 8
posted
0
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.
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
posted
0
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.