Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Building a WAR for Wildfly

Sergei Makarov
Sergei Makarov
13,839 Points

Name of BEAN method will be provided without parentheses?


I would like to understand follows:

Shouldn't we provide a name for Bean in order to exclude eventual problems with Profiles as follows:


instead of


or Spring parse the name of Bean by the name of method without parentheses?

How could I check it self? @Annotations are just the methods as interfaces, how can I get quasi implementation of those particular interfaces?

Thank you!