• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to convert Jboss EAR to Portlet?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I really need to convert from EAR to Portlet in Jboss . if anyone knows about it please reply

Thanks
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How is an Portlet packaged? As a jar?
 
Tuvshinjargal Narankhuu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry. I didn't get what you mean.
 
Tuvshinjargal Narankhuu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Tuvshinjargal Narankhuu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tnx. I will try it
 
Tuvshinjargal Narankhuu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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

 
reply
    Bookmark Topic Watch Topic
  • New Topic