Discussion:
No applicationContext-resources.xml in src/main/resources for Appfuse basic projects without web framework
haibin
2012-01-03 04:13:10 UTC
Permalink
When I create a new project with Appfuse baisc with no web framework, there's
no applicationContext-resources.xml in src/main/resources. It's only in
src/test/resources. Any idea why it is so?

--
View this message in context: http://appfuse.547863.n4.nabble.com/No-applicationContext-resources-xml-in-src-main-resources-for-Appfuse-basic-projects-without-web-frak-tp4255690p4255690.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
Matt Raible
2012-01-03 05:12:07 UTC
Permalink
When you have a core project that produces a JAR, we still expect you to use it in a web project. This could be inaccurate. What's your use case?
Post by haibin
When I create a new project with Appfuse baisc with no web framework, there's
no applicationContext-resources.xml in src/main/resources. It's only in
src/test/resources. Any idea why it is so?
--
View this message in context: http://appfuse.547863.n4.nabble.com/No-applicationContext-resources-xml-in-src-main-resources-for-Appfuse-basic-projects-without-web-frak-tp4255690p4255690.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
haibin
2012-01-03 05:49:20 UTC
Permalink
I see. I'm working on a web crawler using Spring and Hibernate. It doesn't
even need the User Management and Security. I was thinking of using Appfuse
Light, but found that it required a web framework.

I think I can easily copy applicationContext-resources.xml to
src/main/resources. And leaving User Management and Security in the code
does no harm.

I'd like to find out some tutorials for Appfuse basic without web framework
and Appfuse Light.

--
View this message in context: http://appfuse.547863.n4.nabble.com/No-applicationContext-resources-xml-in-src-main-resources-for-Appfuse-basic-projects-without-web-frak-tp4255690p4255837.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
Matt Raible
2012-01-03 17:01:53 UTC
Permalink
Yes, you should be able to copy the applicationContext-resources.xml, or
take the one from appfuse-ws:

http://source.appfuse.org/browse/appfuse/trunk/archetypes/appfuse-ws/src/src/main/resources/applicationContext-resources.xml?r=HEAD

I've entered an issue in JIRA to make appfuse-core more like appfuse-ws
(which can run standalone).

http://issues.appfuse.org/browse/APF-1294
Post by haibin
I see. I'm working on a web crawler using Spring and Hibernate. It doesn't
even need the User Management and Security. I was thinking of using Appfuse
Light, but found that it required a web framework.
I think I can easily copy applicationContext-resources.xml to
src/main/resources. And leaving User Management and Security in the code
does no harm.
I'd like to find out some tutorials for Appfuse basic without web framework
and Appfuse Light.
--
http://appfuse.547863.n4.nabble.com/No-applicationContext-resources-xml-in-src-main-resources-for-Appfuse-basic-projects-without-web-frak-tp4255690p4255837.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
Loading...