[jira] Created: (OWB-323) Provide methods to pass classloader into ServiceLoader and WebBeansFinder for use in tiered classloader situations

2010-03-10 Thread Joe Bergmark (JIRA)
Provide methods to pass classloader into ServiceLoader and WebBeansFinder for 
use in tiered classloader situations
--

 Key: OWB-323
 URL: https://issues.apache.org/jira/browse/OWB-323
 Project: OpenWebBeans
  Issue Type: New Feature
  Components: Core
Affects Versions: M4
Reporter: Joe Bergmark
Assignee: Joe Bergmark
Priority: Minor
 Fix For: 1.0.0


Add an equivalent

ServiceLoader.getService
and
WebBeansFinder.getSingletonInstance

that support being passed a classloader so that the current thread classloader 
isn't assumed.   This would primarily be useful in tiered classloading 
situations where you may need to get the scanner (or other service) for a 
particular classloader when that classloader is not the current threads context 
classloader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Demo: MyFaces2 meets Apache OWB

2010-03-10 Thread Jan-Kees van Andel
Yeah, I will.

Btw. I don't want it to be my personal precious project. What I'd really
like to achieve it to let our projects (MyFaces, OWB, OpenJPA and maybe
more) to get together and expose one one well defined vision about how we
think the technologies should be used. I think this really improves
adoption.

Regards,
Jan-Kees


2010/3/9 Kevan Miller kevan.mil...@gmail.com


 On Mar 7, 2010, at 7:50 AM, Jan-Kees van Andel wrote:

  Maybe a nice addition. I'm trying to set up a reference application using
  MyFaces 2, OWB and OpenJPA 2 which I'll donate to Apache. Not sure which
  project, but I currently think MyFaces, since I'm already involved there.
 
  This should become an example of a real world (instead of hello world
 ;-))
  application using the Apache Java EE 6 stack. This is something I think
 is
  currently missing and for example Spring does really well.
 
  It should demonstrate the usage, integration and practices of using those
  three frameworks in a real world setting. It will also contain
 documentation
  why certain choices have been made.
 
  Oh, it's a secure e-banking application and will contain all main
 features
  of the three frameworks.
 
  When I have something worth showing, I'll let you all know.

 Thanks Jan-Kees. Sounds great. Feel free to ping the Geronimo project
 (which will be pulling these 3 technologies together in an EE environment).
 So, I'm sure they'd be interested, also.

 --kevan


[jira] Commented: (OWB-321) Conversation beans could not be populated to non-faces request by a JSF redirect navigation rule

2010-03-10 Thread YING WANG (JIRA)

[ 
https://issues.apache.org/jira/browse/OWB-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12843741#action_12843741
 ] 

YING WANG commented on OWB-321:
---

Thanks Sven for the info, I tested again, the reirect just works fine with cid 
appended at the end of each redirect URL. And JSF to JSF redirect also works.  

The problem only happens when the redirect URL is a Jsp(non-jsf request), in 
which case, the conversation context is not restored by WebBeansPaseListener 
since it is not a JSF page. 

Sven, do you remember if you ran jsf - jsp redirection test?

 Conversation beans could not be populated to non-faces request by a JSF 
 redirect navigation rule
 

 Key: OWB-321
 URL: https://issues.apache.org/jira/browse/OWB-321
 Project: OpenWebBeans
  Issue Type: Bug
  Components: Injection and Lookup
Affects Versions: M4
Reporter: YING WANG
Assignee: YING WANG
 Fix For: 1.0.0


 I have the following JSF redirect navigation rule, which redirect a JSF page 
 to a jsp page:
navigation-rule
 from-view-id/cellphonebuy.xhtml/from-view-id
 navigation-case
 from-outcometoListingPage/from-outcome
 to-view-id/cellphonelist.jsp/to-view-id
 redirect/
 /navigation-case
 /navigation-rule
 However, in cellphonelist JSP page, I could not access beans of the 
 conversation context and No active conversation context Exception is 
 thrown. I do see the cid parameter being appended at the end of my jsp link. 
 According to 8th and 9th bullets under  6.7.4, a long-run conversation 
 context should be populated to non-face requests if JSF redirect is used or 
 the application generates a link with such cid parameter.  (please assign to 
 me)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Demo: MyFaces2 meets Apache OWB

2010-03-10 Thread Matthias Wessendorf
On Sun, Mar 7, 2010 at 5:50 AM, Gurkan Erdogdu gurkanerdo...@yahoo.com wrote:
 Hi Jan-Kees;

 It is a very cool idea! I look forward to see soon :)

yeah! same here!



 Thanks;

 --Gurkan




 
 From: Jan-Kees van Andel jankeesvanan...@gmail.com
 To: dev@openwebbeans.apache.org
 Sent: Sun, March 7, 2010 2:50:38 PM
 Subject: Re: Demo: MyFaces2 meets Apache OWB

 Maybe a nice addition. I'm trying to set up a reference application usiang
 MyFaces 2, OWB and OpenJPA 2 which I'll donate to Apache. Not sure which
 project, but I currently think MyFaces, since I'm already involved there.

 This should become an example of a real world (instead of hello world ;-))
 application using the Apache Java EE 6 stack. This is something I think is
 currently missing and for example Spring does really well.

 It should demonstrate the usage, integration and practices of using those
 three frameworks in a real world setting. It will also contain documentation
 why certain choices have been made.

 Oh, it's a secure e-banking application and will contain all main features
 of the three frameworks.

 When I have something worth showing, I'll let you all know.

 Regards,
 Jan-Kees



 2010/3/7 Gurkan Erdogdu gurkanerdo...@yahoo.com

 Cool!

 --Gurkan



 
 From: Matthias Wessendorf mat...@apache.org
 To: MyFaces Development d...@myfaces.apache.org;
 dev@openwebbeans.apache.org
 Sent: Sat, March 6, 2010 3:38:56 PM
 Subject: Demo: MyFaces2 meets Apache OWB

 Some (simple) demo of the two:


 http://matthiaswessendorf.wordpress.com/2010/03/06/demo-of-apache-myfaces-2-and-openwebbeans/

 -Matthias

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



       ___
 Yahoo! Türkiye açıldı!  http://yahoo.com.tr
 İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!




      ___
 Yahoo! Türkiye açıldı!  http://yahoo.com.tr
 İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: Build failures

2010-03-10 Thread Gurkan Erdogdu
What's the issue? There's no restriction on what repositories you can
refer to...
There are some JBoss related repositories(some of them are on maven central
some not), and we have removed all of them from our main pom. We setup those
repos. in settings.xml. It seems that it is reasonable to setup those repos.
in settings.xml instead of listing directly in pom.

But, Hudson now failed because of not finding some jboss specific libs
(namely, jboss-tesharness-api),from maven central. Therefore, we have just
added this library provider repo into main pom and problem has solved.

As you said that there is no restriction to put third party repos. in pom,
then everything is fine now!

Thanks;

--Gurkan


2010/3/10 Kevan Miller kevan.mil...@gmail.com


 On Mar 8, 2010, at 10:54 AM, Gurkan Erdogdu wrote:

  I have asked this at general@
 
  http://old.nabble.com/Third-party-Maven-Repository-Usage-to27823163.html

 What's the issue? There's no restriction on what repositories you can refer
 to...

 --kevan




-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com