• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does JSF support AWT components?

 
prajal Mehta
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am writing a JSF program which would display a Canvas3D object.
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Canvas
|
+--javax.media.j3d.Canvas3D


Canvas3D is an awt component.
It is not getting displayed in JSF page.

So I have a doubt if JSF supports awt components at all!

Any help is appriciated.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How could JSF support Java GUI components? JSF runs on the server, so any GUI classes you use would be displayed on the server, where there's nobody around to see them.

If you want to use Java classes as part of the client, you need to look into applets or Java Web Start applications.
 
prajal Mehta
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Ulf.

We are working on a POC (Proof of Concept) for one project.
The client does not want Applet based solution, they want JSF based solution.

thanks anyways.
I will find a workaround.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic