[jira] [Created] (TRINIDAD-2240) Add new namespace declaration http://xmlns.oracle.com/bali/xml/faces-metadata-extension at root element

2012-03-12 Thread Arjun Vade (Created) (JIRA)
Add new namespace declaration 
http://xmlns.oracle.com/bali/xml/faces-metadata-extension; at root element
-

 Key: TRINIDAD-2240
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2240
 Project: MyFaces Trinidad
  Issue Type: Task
Reporter: Arjun Vade


Need to introduce a new namespace declaration 
http://xmlns.oracle.com/bali/xml/faces-metadata-extension; at root element. 
This new namespace is required for JDeveloper.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TRINIDAD-2240) Add new namespace declaration http://xmlns.oracle.com/bali/xml/faces-metadata-extension at root element

2012-03-12 Thread Arjun Vade (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arjun Vade updated TRINIDAD-2240:
-

Status: Patch Available  (was: Open)

 Add new namespace declaration 
 http://xmlns.oracle.com/bali/xml/faces-metadata-extension; at root element
 -

 Key: TRINIDAD-2240
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2240
 Project: MyFaces Trinidad
  Issue Type: Task
Reporter: Arjun Vade

 Need to introduce a new namespace declaration 
 http://xmlns.oracle.com/bali/xml/faces-metadata-extension; at root element. 
 This new namespace is required for JDeveloper.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




The maximum speed internet connection supported by myfaces

2012-03-12 Thread ayouB __

 



Hi every body,
 
As you can see in the title of the subject, i'm asking about if MyFaces 
supports broadband and what the max speed it can supports, and please give the 
proof like a link to apach myfaces offcial website or something like that.
PS : I'm working on a project based on myfaces as the implementation of jsf, 
but first of all i have to study every thing about it including speed 
connection and also security which i'm gonna talk about it in an other subject.
 
Thank you all.
  

[jira] [Updated] (TRINIDAD-2194) Trinidad PPR blocking does not work with 2 clicks that post

2012-03-12 Thread Venkata Guddanti (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Venkata Guddanti updated TRINIDAD-2194:
---

Status: Patch Available  (was: Reopened)

 Trinidad PPR blocking does not work with 2 clicks that post
 ---

 Key: TRINIDAD-2194
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2194
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Infrastructure
Reporter: Venkata Guddanti
Assignee: Blake Sullivan
 Fix For: 2.0.0-core

 Attachments: escalatedCustPPRBlocking.patch, 
 escalatedCustPPRBlocking1.2.12.3.patch, 
 escalatedCustPPRBlocking1.2.12.6.2.patch

   Original Estimate: 8h
  Remaining Estimate: 8h

 n IE the blocking is initiated on the very first click that happens after a 
 ppr request is sent to server. This is done via onclick attachEvent 
 handler(_pprConsumeFirstClick) on the document. The problem is that 
 attachEvent is invoked only in the bubble phase. In IE7/IE8 there is no way 
 to set up an event handler at the capture phase. In this case the AJAX 
 requests are initiated by the onclick event handler on the link. Since the 
 click event listener is at target phase, it is always invoked first. So here 
 is what happens when the user clicks on the Next link 2 times:
 1) AJAX Request initiated on onclick handler
 2) Set up the onclick attachEvent on the document (_pprConsumeFirstClick)
 3) User clicks on link again
 4) Since there is already an onclick handler, another AJAX request is 
 queued.
 5) the _pprConsumeFirstClick onclick document handler kicks in, which 
 setups event capture. It is now too late.
 We believe because of TRINIDAD-952 we do not need to start blocking after the 
 second click. We can start immediately since we are letting the first event 
 pass through because of a timeout:
 if (_agent.isIE)
   {
 // see TRINIDAD-952 - IE does not update the activeElement in time before
 // blocking starts. Use a timeout to allow the update.
 win._pprTimeoutFunc = win.setTimeout(_doPprStartBlocking(window);,
  1);
 return;
   }
 The second part of the fix is to restore the scroll location after we set 
 focus on the blocking div.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: The maximum speed internet connection supported by myfaces

2012-03-12 Thread Grant Smith
Maximum speed ? That would be unlimited. As for the minimum.. it depends
how patient you are waiting for a response from the server.

On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:


   Hi every body,

 As you can see in the title of the subject, i'm asking about if MyFaces
 supports broadband and what the max speed it can supports, and please give
 the proof like a link to apach myfaces offcial website or something like
 that.
 PS : I'm working on a project based on myfaces as the implementation of
 jsf, but first of all i have to study every thing about it including speed
 connection and also security which i'm gonna talk about it in an other
 subject.

 Thank you all.




-- 
Grant Smith - V.P. Information Technology
Marathon Computer Systems, LLC.


RE: The maximum speed internet connection supported by myfaces

2012-03-12 Thread ayouB __

hi smith,
 
thanks for your reply :) it'll be nice if you can give me the proof please.
 
thank you again.
 



Date: Mon, 12 Mar 2012 08:00:18 -0800
Subject: Re: The maximum speed internet connection supported by myfaces
From: work.gr...@gmail.com
To: dev@myfaces.apache.org

Maximum speed ? That would be unlimited. As for the minimum.. it depends how 
patient you are waiting for a response from the server.


On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:



 




Hi every body,
 
As you can see in the title of the subject, i'm asking about if MyFaces 
supports broadband and what the max speed it can supports, and please give the 
proof like a link to apach myfaces offcial website or something like that.
PS : I'm working on a project based on myfaces as the implementation of jsf, 
but first of all i have to study every thing about it including speed 
connection and also security which i'm gonna talk about it in an other subject.
 
Thank you all.


-- 
Grant Smith - V.P. Information Technology
Marathon Computer Systems, LLC.

  

Re: The maximum speed internet connection supported by myfaces

2012-03-12 Thread Mark Struberg
Well, its as easy as just taking jmeter and benchmark it yourself!

The performance of a webapp is depending on lots of parameters. The most 
important factor is how good the page is programmed - independent of which 
framework you use.
JSF is capable to easily deliver enough performance for even huge public web 
pages.

LieGrue,
strub





 From: ayouB __ ayb-2...@hotmail.fr
To: dev@myfaces.apache.org 
Sent: Monday, March 12, 2012 5:05 PM
Subject: RE: The maximum speed internet connection supported by myfaces
 

 
hi smith,
 
thanks for your reply :) it'll be nice if you can give me the proof please.
 
thank you again.
 



 Date: Mon, 12 Mar 2012 08:00:18 -0800
Subject: Re: The maximum speed internet connection supported by myfaces
From: work.gr...@gmail.com
To: dev@myfaces.apache.org

Maximum speed ? That would be unlimited. As for the minimum.. it depends how 
patient you are waiting for a response from the server.


On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:

 

Hi every body,
 
As you can see in the title of the subject, i'm asking about if MyFaces 
supports broadband and what the max speed it can supports, and please give 
the proof like a link to apach myfaces offcial website or something like that.
PS : I'm working on a project based on myfaces as the implementation of jsf, 
but first of all i have to study every thing about it including speed 
connection and also security which i'm gonna talk about it in an other 
subject.
 
Thank you all.



-- 
Grant Smith - V.P. Information Technology
Marathon Computer Systems, LLC.






RE: The maximum speed internet connection supported by myfaces

2012-03-12 Thread ayouB __

I still wondering if there is a proof, i'm working on a repport about 
JSF(MyFaces) and i have absolutely give the proof to everything i'll note in.
i hope you'll understand my situation and why i'm too insistent on this point 
:) 
 

 Date: Mon, 12 Mar 2012 16:09:46 +
 From: strub...@yahoo.de
 Subject: Re: The maximum speed internet connection supported by myfaces
 To: dev@myfaces.apache.org
 
 Well, its as easy as just taking jmeter and benchmark it yourself!
 
 The performance of a webapp is depending on lots of parameters. The most 
 important factor is how good the page is programmed - independent of which 
 framework you use.
 JSF is capable to easily deliver enough performance for even huge public web 
 pages.
 
 LieGrue,
 strub
 
 
 
 
 
  From: ayouB __ ayb-2...@hotmail.fr
 To: dev@myfaces.apache.org 
 Sent: Monday, March 12, 2012 5:05 PM
 Subject: RE: The maximum speed internet connection supported by myfaces
  
 
  
 hi smith,
  
 thanks for your reply :) it'll be nice if you can give me the proof please.
  
 thank you again.
  
 
 
 
  Date: Mon, 12 Mar 2012 08:00:18 -0800
 Subject: Re: The maximum speed internet connection supported by myfaces
 From: work.gr...@gmail.com
 To: dev@myfaces.apache.org
 
 Maximum speed ? That would be unlimited. As for the minimum.. it depends how 
 patient you are waiting for a response from the server.
 
 
 On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:
 
  
 
 Hi every body,
  
 As you can see in the title of the subject, i'm asking about if MyFaces 
 supports broadband and what the max speed it can supports, and please give 
 the proof like a link to apach myfaces offcial website or something like 
 that.
 PS : I'm working on a project based on myfaces as the implementation of 
 jsf, but first of all i have to study every thing about it including speed 
 connection and also security which i'm gonna talk about it in an other 
 subject.
  
 Thank you all.
 
 
 
 -- 
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.
 
 
 
 
  

Re: The maximum speed internet connection supported by myfaces

2012-03-12 Thread Scott O'Bryan
Yeah, Mark is right.  There is no 'meter' limiting bandwidth.  We xmit
data at whatever rate the servlet container lets us transmit at which
should be close to the speed that your connection allows over the
wire.

The 'actual' speed of the output depends on both application and
deployment of your app.  If your app is inefficient or your machine is
slow, data may come over the wire at a slower rate.

I 'suspect' your trying to gauge some performance numbers and NOT
whether broadband is supported or not.

Sent from my iPhone

On Mar 12, 2012, at 10:10 AM, Mark Struberg strub...@yahoo.de wrote:

 Well, its as easy as just taking jmeter and benchmark it yourself!

 The performance of a webapp is depending on lots of parameters. The most 
 important factor is how good the page is programmed - independent of which 
 framework you use.
 JSF is capable to easily deliver enough performance for even huge public web 
 pages.

 LieGrue,
 strub




 
 From: ayouB __ ayb-2...@hotmail.fr
 To: dev@myfaces.apache.org
 Sent: Monday, March 12, 2012 5:05 PM
 Subject: RE: The maximum speed internet connection supported by myfaces



 hi smith,

 thanks for your reply :) it'll be nice if you can give me the proof please.

 thank you again.



 
 Date: Mon, 12 Mar 2012 08:00:18 -0800
 Subject: Re: The maximum speed internet connection supported by myfaces
 From: work.gr...@gmail.com
 To: dev@myfaces.apache.org

 Maximum speed ? That would be unlimited. As for the minimum.. it depends how 
 patient you are waiting for a response from the server.


 On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:



 Hi every body,

 As you can see in the title of the subject, i'm asking about if MyFaces 
 supports broadband and what the max speed it can supports, and please give 
 the proof like a link to apach myfaces offcial website or something like 
 that.
 PS : I'm working on a project based on myfaces as the implementation of 
 jsf, but first of all i have to study every thing about it including speed 
 connection and also security which i'm gonna talk about it in an other 
 subject.

 Thank you all.



 --
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.






Re: The maximum speed internet connection supported by myfaces

2012-03-12 Thread Gerhard Petracek
short addition:

you can have a look e.g. at [1]. there you can see one example for a large
(public) site using myfaces.

regards,
gerhard

[1] http://s.apache.org/nhS

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2012/3/12 Mark Struberg strub...@yahoo.de

 Well, its as easy as just taking jmeter and benchmark it yourself!

 The performance of a webapp is depending on lots of parameters. The most
 important factor is how good the page is programmed - independent of which
 framework you use.
 JSF is capable to easily deliver enough performance for even huge public
 web pages.

 LieGrue,
 strub




 
  From: ayouB __ ayb-2...@hotmail.fr
 To: dev@myfaces.apache.org
 Sent: Monday, March 12, 2012 5:05 PM
 Subject: RE: The maximum speed internet connection supported by myfaces
 
 
 
 hi smith,
 
 thanks for your reply :) it'll be nice if you can give me the proof
 please.
 
 thank you again.
 
 
 
 
  Date: Mon, 12 Mar 2012 08:00:18 -0800
 Subject: Re: The maximum speed internet connection supported by myfaces
 From: work.gr...@gmail.com
 To: dev@myfaces.apache.org
 
 Maximum speed ? That would be unlimited. As for the minimum.. it depends
 how patient you are waiting for a response from the server.
 
 
 On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:
 
 
 
 Hi every body,
 
 As you can see in the title of the subject, i'm asking about if MyFaces
 supports broadband and what the max speed it can supports, and please give
 the proof like a link to apach myfaces offcial website or something like
 that.
 PS : I'm working on a project based on myfaces as the implementation of
 jsf, but first of all i have to study every thing about it including speed
 connection and also security which i'm gonna talk about it in an other
 subject.
 
 Thank you all.
 
 
 
 --
 Grant Smith - V.P. Information Technology
 Marathon Computer Systems, LLC.
 
 
 
 



RE: The maximum speed internet connection supported by myfaces

2012-03-12 Thread ayouB __

Thank you all for your replies, 
 
I found that kind of caracteristics can't be measured, it depends as you said 
on the application and the deployement server, so to discover that we should 
put our application under some stress tests to push it to it limits and know 
its real assets and fails.
 
Thanks again :)
 



From: gerhard.petra...@gmail.com
Date: Mon, 12 Mar 2012 17:24:04 +0100
Subject: Re: The maximum speed internet connection supported by myfaces
To: dev@myfaces.apache.org


short addition:


you can have a look e.g. at [1]. there you can see one example for a large 
(public) site using myfaces.


regards,
gerhard


[1] http://s.apache.org/nhS
http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces




2012/3/12 Mark Struberg strub...@yahoo.de

Well, its as easy as just taking jmeter and benchmark it yourself!

The performance of a webapp is depending on lots of parameters. The most 
important factor is how good the page is programmed - independent of which 
framework you use.
JSF is capable to easily deliver enough performance for even huge public web 
pages.

LieGrue,
strub





 From: ayouB __ ayb-2...@hotmail.fr
To: dev@myfaces.apache.org
Sent: Monday, March 12, 2012 5:05 PM
Subject: RE: The maximum speed internet connection supported by myfaces





hi smith,
 
thanks for your reply :) it'll be nice if you can give me the proof please.
 
thank you again.
 



 Date: Mon, 12 Mar 2012 08:00:18 -0800
Subject: Re: The maximum speed internet connection supported by myfaces
From: work.gr...@gmail.com
To: dev@myfaces.apache.org

Maximum speed ? That would be unlimited. As for the minimum.. it depends how 
patient you are waiting for a response from the server.


On Mon, Mar 12, 2012 at 7:34 AM, ayouB __ ayb-2...@hotmail.fr wrote:

 

Hi every body,
 
As you can see in the title of the subject, i'm asking about if MyFaces 
supports broadband and what the max speed it can supports, and please give 
the proof like a link to apach myfaces offcial website or something like that.
PS : I'm working on a project based on myfaces as the implementation of jsf, 
but first of all i have to study every thing about it including speed 
connection and also security which i'm gonna talk about it in an other 
subject.
 
Thank you all.



--
Grant Smith - V.P. Information Technology
Marathon Computer Systems, LLC.





  

Re: The maximum speed internet connection supported by myfaces

2012-03-12 Thread Mark Struberg


Take a look at jmeter if you like to easily do performance testing:

http://jmeter.apache.org/

There is also a myfaces wiki page which covers this topic:

http://wiki.apache.org/myfaces/PerformanceTestingWithJMeter

LieGrue
strub

 From: ayouB __ ayb-2...@hotmail.fr
To: dev@myfaces.apache.org 
Sent: Monday, March 12, 2012 5:42 PM
Subject: RE: The maximum speed internet connection supported by myfaces
 

 
Thank you all for your replies, 
 
I found that kind of caracteristics can't be measured, it depends as you said 
on the application and the deployement server, so to discover that we should 
put our application under some stress tests to push it to it limits and 
know its real assets and fails.
 
Thanks again :)


[jira] [Commented] (MYFACES-3493) Cache info about non-existant resources in org.apache.myfaces.application.ResourceHandlerImpl.createResource()

2012-03-12 Thread Dmitry Kukushkin (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13227703#comment-13227703
 ] 

Dmitry Kukushkin commented on MYFACES-3493:
---

In fact there is a use case:
During the xhtml compilation, tags from the document are processed through the 
chain of known namespaces, to find out if there is a handler for this tag 
implemented in this tag library.
This goes OK, until a tag library, declaring composite-tag-library name is met 
(in our case this is Tomahawk).
Then MyFaces, is trying to load a resource with the name like 
/resources/composite-tag-library/tag.xhtml
For every tag, which wasn't handled, this operation will be performed 
(including also lookups on the file system and in jars).
Simply for every standard html tag like a, br, div etc this operation 
will be failing every time (for us it was a factor of 25 in the response time 
increase).

I was initially thinking of submitting this issue to the Tomahawk's jira,
But then I thought that it's better to implement this caching in the MyFases 
itself, to avoid such a performance issues, should some tag library, 
implementing composite tags, have similar implementation issues.

 Cache info about non-existant resources in 
 org.apache.myfaces.application.ResourceHandlerImpl.createResource()
 --

 Key: MYFACES-3493
 URL: https://issues.apache.org/jira/browse/MYFACES-3493
 Project: MyFaces Core
  Issue Type: Improvement
  Components: Extension Feature
Affects Versions: 2.1.6
 Environment: Linux FC15
Reporter: Dmitry Kukushkin

 The existent resources are cached in the public Resource 
 createResource(String resourceName, String libraryName, String contentType) 
 method,
 which is good, but the information about resources, which are not existent ( 
 deriveResourceMeta(loader, resourceName, libraryName, localePrefix) returned 
 null ) is not cached.
 Thus at the next requests for the same resource the same resource lookup 
 operations will happen, which may be expensive.
 In my case, for example (Tomcat + Spring + MyFaces + Tomahawk), for every 
 html tag, lookup on the file system and in all classpaths (including ~30 
 jars) is performed (and failing), which de-gradates response time by factor 
 of 25!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Profiling tool for JSF

2012-03-12 Thread ayouB __

Hi every one,
 
I'm asking if there is a possibility to do a profiling test for a jsf 
application (like what flash builder does for Adobe Flex), my question is about 
profiling only the prensentation layer build with MyFaces 2.1.6 + Richfaces 4 
not the whole application (as it's known Adobe Flex is Rich Client which it's 
not the case for JSF). If so, is there a tool or a plug-in which does this ?
 
Thanks.   

[jira] [Commented] (MYFACES-3493) Cache info about non-existant resources in org.apache.myfaces.application.ResourceHandlerImpl.createResource()

2012-03-12 Thread Dmitry Kukushkin (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13227713#comment-13227713
 ] 

Dmitry Kukushkin commented on MYFACES-3493:
---

here is the place where MyFaces is trying to load resource for the tag:
org.apache.myfaces.view.facelets.compiler.TagLibraryConfig.containsTagHandler(String
 ns, String localName)

 Cache info about non-existant resources in 
 org.apache.myfaces.application.ResourceHandlerImpl.createResource()
 --

 Key: MYFACES-3493
 URL: https://issues.apache.org/jira/browse/MYFACES-3493
 Project: MyFaces Core
  Issue Type: Improvement
  Components: Extension Feature
Affects Versions: 2.1.6
 Environment: Linux FC15
Reporter: Dmitry Kukushkin

 The existent resources are cached in the public Resource 
 createResource(String resourceName, String libraryName, String contentType) 
 method,
 which is good, but the information about resources, which are not existent ( 
 deriveResourceMeta(loader, resourceName, libraryName, localePrefix) returned 
 null ) is not cached.
 Thus at the next requests for the same resource the same resource lookup 
 operations will happen, which may be expensive.
 In my case, for example (Tomcat + Spring + MyFaces + Tomahawk), for every 
 html tag, lookup on the file system and in all classpaths (including ~30 
 jars) is performed (and failing), which de-gradates response time by factor 
 of 25!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: Profiling tool for JSF

2012-03-12 Thread Kito Mann
Hello,

What are you trying to measure that you can't get from a standard Java
profiler? Or are you just trying to time parts of the life cycle?

On Monday, March 12, 2012, ayouB __ ayb-2...@hotmail.fr wrote:
 Hi every one,

 I'm asking if there is a possibility to do a profiling test for a jsf
application (like what flash builder does for Adobe Flex), my question is
about profiling only the prensentation layer build with MyFaces 2.1.6 +
Richfaces 4 not the whole application (as it's known Adobe Flex is Rich
Client which it's not the case for JSF). If so, is there a tool or a
plug-in which does this ?

 Thanks.


-- 
___

Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter:
jsfcentral
+1 203-404-4848 x3

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


RE: Profiling tool for JSF

2012-03-12 Thread ayouB __

Hi,
 
I want know if can i measure the memory size of my presentation layer (i give 
an example with Adobe Flex cause ActionScript Language is an Oriented Object 
Language so the presentation layer can be measured by measuring its patterns 
which are the ActionScript Objects), can we do this with JSF and if so what's 
the most popular plug-in charged to execute that task ?
PS : I'm a new developper on JSF technology :)
 
Thanks. 



Date: Mon, 12 Mar 2012 13:31:15 -0400
Subject: Re: Profiling tool for JSF
From: kito.m...@virtua.com
To: dev@myfaces.apache.org

Hello,

What are you trying to measure that you can't get from a standard Java 
profiler? Or are you just trying to time parts of the life cycle?

On Monday, March 12, 2012, ayouB __ ayb-2...@hotmail.fr wrote:
 Hi every one,
  
 I'm asking if there is a possibility to do a profiling test for a jsf 
 application (like what flash builder does for Adobe Flex), my question is 
 about profiling only the prensentation layer build with MyFaces 2.1.6 + 
 Richfaces 4 not the whole application (as it's known Adobe Flex is Rich 
 Client which it's not the case for JSF). If so, is there a tool or a plug-in 
 which does this ?
  
 Thanks.


-- 
___


Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: 
jsfcentral
+1 203-404-4848 x3

* Listen to the latest headlines in the JSF and Java EE newscast: 
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17

  

Re: Profiling tool for JSF

2012-03-12 Thread Gerhard Petracek
hi,

first of all: welcome @ myfaces!

since other (myfaces-) users might be interested in this topic as well,
let's continue with this thread at the users-list (see [1] and/or [2]).

regards,
gerhard

[1] http://myfaces.apache.org/mail-lists.html
[2] http://mail-archives.apache.org/mod_mbox/myfaces-users/

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2012/3/12 ayouB __ ayb-2...@hotmail.fr

  Hi,

 I want know if can i measure the memory size of my presentation layer (i
 give an example with Adobe Flex cause ActionScript Language is an Oriented
 Object Language so the presentation layer can be measured by measuring its
 patterns which are the ActionScript Objects), can we do this with JSF and
 if so what's the most popular plug-in charged to execute that task ?
 PS : I'm a new developper on JSF technology :)

 Thanks.
  --
 Date: Mon, 12 Mar 2012 13:31:15 -0400
 Subject: Re: Profiling tool for JSF
 From: kito.m...@virtua.com
 To: dev@myfaces.apache.org


 Hello,

 What are you trying to measure that you can't get from a standard Java
 profiler? Or are you just trying to time parts of the life cycle?

 On Monday, March 12, 2012, ayouB __ ayb-2...@hotmail.fr wrote:
  Hi every one,
 
  I'm asking if there is a possibility to do a profiling test for a jsf
 application (like what flash builder does for Adobe Flex), my question is
 about profiling only the prensentation layer build with MyFaces 2.1.6 +
 Richfaces 4 not the whole application (as it's known Adobe Flex is Rich
 Client which it's not the case for JSF). If so, is there a tool or a
 plug-in which does this ?
 
  Thanks.
 

 --
 ___

 Kito D. Mann | twitter: kito99 | Author, JSF in Action
 Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
 http://www.JSFCentral.com http://www.jsfcentral.com/ - JavaServer Faces
 FAQ, news, and info | twitter: jsfcentral
 +1 203-404-4848 x3

 * Listen to the latest headlines in the JSF and Java EE newscast:
 http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
 * Sign up for the JSFCentral newsletter:
 http://oi.vresp.com/?fid=ac048d0e17




[jira] [Commented] (MYFACES-3493) Cache info about non-existant resources in org.apache.myfaces.application.ResourceHandlerImpl.createResource()

2012-03-12 Thread Leonardo Uribe (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13228069#comment-13228069
 ] 

Leonardo Uribe commented on MYFACES-3493:
-

Interesting. One question, are you using f:validateBean  in wrap mode?:

f:validateBean ...
.
/f:validateBean

I think in this case the cache should be added in TagLibraryConfig, instead add 
it on ResourceHandler. 

 Cache info about non-existant resources in 
 org.apache.myfaces.application.ResourceHandlerImpl.createResource()
 --

 Key: MYFACES-3493
 URL: https://issues.apache.org/jira/browse/MYFACES-3493
 Project: MyFaces Core
  Issue Type: Improvement
  Components: Extension Feature
Affects Versions: 2.1.6
 Environment: Linux FC15
Reporter: Dmitry Kukushkin

 The existent resources are cached in the public Resource 
 createResource(String resourceName, String libraryName, String contentType) 
 method,
 which is good, but the information about resources, which are not existent ( 
 deriveResourceMeta(loader, resourceName, libraryName, localePrefix) returned 
 null ) is not cached.
 Thus at the next requests for the same resource the same resource lookup 
 operations will happen, which may be expensive.
 In my case, for example (Tomcat + Spring + MyFaces + Tomahawk), for every 
 html tag, lookup on the file system and in all classpaths (including ~30 
 jars) is performed (and failing), which de-gradates response time by factor 
 of 25!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (MYFACES-3498) create shared-public module

2012-03-12 Thread Leonardo Uribe (Created) (JIRA)
create shared-public module
---

 Key: MYFACES-3498
 URL: https://issues.apache.org/jira/browse/MYFACES-3498
 Project: MyFaces Core
  Issue Type: Improvement
  Components: build process
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe


Create shared-public module as discussed on dev list. See discussion:

http://markmail.org/message/ujqdvipurs6zzju5?q=[DISCUSS]+how+to+get+rid+of+tons+of+duplicated+code



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (MYFACES-3499) create parent module to allow release shared submodules independently

2012-03-12 Thread Leonardo Uribe (Created) (JIRA)
create parent module to allow release shared submodules independently
-

 Key: MYFACES-3499
 URL: https://issues.apache.org/jira/browse/MYFACES-3499
 Project: MyFaces Core
  Issue Type: Improvement
  Components: build process
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (MYFACES-3498) create shared-public module

2012-03-12 Thread Leonardo Uribe (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-3498.
-

   Resolution: Fixed
Fix Version/s: 2.1.7
   2.0.13

 create shared-public module
 ---

 Key: MYFACES-3498
 URL: https://issues.apache.org/jira/browse/MYFACES-3498
 Project: MyFaces Core
  Issue Type: Improvement
  Components: build process
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
 Fix For: 2.0.13, 2.1.7


 Create shared-public module as discussed on dev list. See discussion:
 http://markmail.org/message/ujqdvipurs6zzju5?q=[DISCUSS]+how+to+get+rid+of+tons+of+duplicated+code

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (MYFACES-3499) create parent module to allow release shared submodules independently

2012-03-12 Thread Leonardo Uribe (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-3499.
-

   Resolution: Fixed
Fix Version/s: 2.1.7
   2.0.13

 create parent module to allow release shared submodules independently
 -

 Key: MYFACES-3499
 URL: https://issues.apache.org/jira/browse/MYFACES-3499
 Project: MyFaces Core
  Issue Type: Improvement
  Components: build process
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
 Fix For: 2.0.13, 2.1.7




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (MYFACES-3493) Cache info about non-existant resources in org.apache.myfaces.application.ResourceHandlerImpl.createResource()

2012-03-12 Thread Leonardo Uribe (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13228150#comment-13228150
 ] 

Leonardo Uribe commented on MYFACES-3493:
-

I found the source of the problem in MYFACES-3208, which was fixed in 2.1.2 / 
2.0.8. Please update your myfaces version to 2.1.6 or 2.0.12. I checked and a 
cache in that location is not necessary. I think we can close this issue as 
won't fix, because the problem was MYFACES-3208, which was already fixed.



 Cache info about non-existant resources in 
 org.apache.myfaces.application.ResourceHandlerImpl.createResource()
 --

 Key: MYFACES-3493
 URL: https://issues.apache.org/jira/browse/MYFACES-3493
 Project: MyFaces Core
  Issue Type: Improvement
  Components: Extension Feature
Affects Versions: 2.1.6
 Environment: Linux FC15
Reporter: Dmitry Kukushkin

 The existent resources are cached in the public Resource 
 createResource(String resourceName, String libraryName, String contentType) 
 method,
 which is good, but the information about resources, which are not existent ( 
 deriveResourceMeta(loader, resourceName, libraryName, localePrefix) returned 
 null ) is not cached.
 Thus at the next requests for the same resource the same resource lookup 
 operations will happen, which may be expensive.
 In my case, for example (Tomcat + Spring + MyFaces + Tomahawk), for every 
 html tag, lookup on the file system and in all classpaths (including ~30 
 jars) is performed (and failing), which de-gradates response time by factor 
 of 25!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira