• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie question about on WOInject (so for Henrique)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question about on WOInject (so for Henrique)


  • Subject: Re: Newbie question about on WOInject (so for Henrique)
  • From: Henrique Prange <email@hidden>
  • Date: Thu, 05 Apr 2012 20:43:59 -0300

Hi Ron,

It seems you have a problem in the Eclipse build path. Are you using the m2e plugin? What happen if you build the project in terminal?

Cheers,

Henrique

Sent from my iPhone

On 05/04/2012, at 03:54, Ron X <email@hidden> wrote:

Are you able to run the same Application without the WOInject integration? << yes
Looks like the import com.ronx.module.
SocialModule is missing in your Application class.<< yes, eclipse says that it can not import such class.
But with out WOInject - class imports successfully.


5 апреля 2012 г. 2:19 пользователь Henrique Prange <email@hidden> написал:
Hi Ron,

On 04/04/2012, at 12:24, Ron X wrote:

...

    at com.ronx.Application.main(Application.java:10)
Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file can't be read.  Did you run as a Java Application instead of a WOApplication in WOLips?
Please post your deployment configuration in the Wonder mailing list.
...


Does your project contain a Properties file in the Resources (src/main/resources) folder?

Are you able to run the same Application without the WOInject integration?

and when i add
return new Module[] {  new SocialModule()};

i have compilation error - it could not find the SocialModule.java...

why does it happen?


Looks like the import com.ronx.module.SocialModule is missing in your Application class.

Cheers,

Henrique

p.s. i use ERExtentions version 5.6-SNAPSHOT with maven.

4 апреля 2012 г. 17:37 пользователь Philippe Rabier <email@hidden> написал:
Thanks for your replies/feedback Henrique and James.

Happy you are to have an average transaction of 10ms. I'm fighting against Mysql at this moment. But it's another problem ;-)

Philippe

Sent from my iPhone

On 4 avr. 2012, at 09:17, "Brook, James" <email@hidden> wrote:

>
>
> Sent from my iPhone
>
>>> - is the injection mechanism efficient (in our case, a new object is created each time there is an http request)?
>>
>> I still don't have any benchmarks comparing an application running with WOInject and without it. Our empirical analysis didn't capture any discrepancies over the application performance after the addition of WOInject. I'll try to produce meaningful numbers when I finish a refactoring in the WOInject initialization code. I'll probably replace the Javassist library by ASM, which can lead to smaller performance gains.
>
> We have been using Guice to inject per request in a live app for over a year. The requests are all ERRest with an in memory database behind. Even at load we see sub 10ms response times in WOStats.
>
>>
>> Anyway, if you want to check it out, you can configure one application to use WOInject in a few minutes. Even if you don't configure any Guice module, components, EOs, DirectActions and Sessions will be created by Guice. Other internal WebObjects classes will be instantiated via reflection, and I'll be injected after that. If you feel your application is slow after the change, let me know.
>>
>> [1]https://github.com/hprange/woinject/issues/1
>>
>> Cheers,
>>
>> Henrique
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Newbie question about on WOInject (so for Henrique) (From: Philippe Rabier <email@hidden>)
 >Re: Newbie question about on WOInject (so for Henrique) (From: Henrique Prange <email@hidden>)
 >Re: Newbie question about on WOInject (so for Henrique) (From: "Brook, James" <email@hidden>)
 >Re: Newbie question about on WOInject (so for Henrique) (From: Philippe Rabier <email@hidden>)
 >Re: Newbie question about on WOInject (so for Henrique) (From: Ron X <email@hidden>)
 >Re: Newbie question about on WOInject (so for Henrique) (From: Henrique Prange <email@hidden>)
 >Re: Newbie question about on WOInject (so for Henrique) (From: Ron X <email@hidden>)

  • Prev by Date: Re: Using Git WOWODC 2012 Session
  • Next by Date: Re: Using Git WOWODC 2012 Session
  • Previous by thread: Re: Newbie question about on WOInject (so for Henrique)
  • Next by thread: Model/application development layout request for comment
  • Index(es):
    • Date
    • Thread