Reputation: 3556
I have a Spring MVC project up and running. It only has REST APIs and do not have any view.
I want to use Apache Wicket as the view part, which can use the @Service
annotated classes.
I don't exactly how and where to start.
P.S. I have pure Java based configuration for Spring MVC, meaning there is no web.xml file.
Thanks in advance
Upvotes: 2
Views: 339
Reputation: 780
You should be able to just add a custom WicketFilter to your application like:
@Component
@WebFilter(urlPatterns = "/*")
public class MyWicketFilter extends WicketFilter {
public MyWicketFilter() {
super(new MyWicketApplication());
}
}
Upvotes: 2