Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-26 Thread Zilvinas Vilutis
No,

It's an off-topic for wicket, but maven just helps standardize things
for development and make it easier to manage dependencies  stuff. It
enables you to forget all the little details required to run a project
based on open source libraries  frameworks - just add a dependency
definition and let maven do the job.

Once you build the project - maven gives you an output ( jar, war or
ear - whatever appropriate ) package which you can transfer anywhere
you need.

Thanks to maven we now have so many open source projects 
contributions, because it made things much easier.

Regards

Žilvinas Vilutis

E-mail:   cika...@gmail.com



On Tue, Jul 26, 2011 at 12:16 AM, eugenebalt eugeneb...@yahoo.com wrote:
 I have a question, what if I'm not using Maven?

 I have a hard time believing I need Maven to run Wicket. I just looked at
 the installation instructions for Maven, they're pretty complicated and
 involve setting some environment vars, are you kidding me??

 I need a simple project that I can send to my teacher and he will be able to
 build/run the Web app on his laptop without any problems. Does he also have
 to set up Maven on his end??

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694118.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Hi, 

I have an existing Spring/Hibernate project currently using SpringMVC as the
presentation layer, and I need to port it to Wicket.

I looked at the quickstart downloads for Wicket for how to create a Wicket
project, but that's not a Spring/Hibernate project. I already have my
Spring/Hibernate infrastructure set up, now all that needs to go is Spring
MVC.

What do I need to set up Wicket? I am thinking
- JAR file(s)
- web.xml changes?

Where can I find this info, without going through the Maven/Quickstart
examples? Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3693395.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Martin Grigorov
See the quickstarts at http://www.jweekend.com/dev/LegUp

On Mon, Jul 25, 2011 at 8:17 PM, eugenebalt eugeneb...@yahoo.com wrote:
 Hi,

 I have an existing Spring/Hibernate project currently using SpringMVC as the
 presentation layer, and I need to port it to Wicket.

 I looked at the quickstart downloads for Wicket for how to create a Wicket
 project, but that's not a Spring/Hibernate project. I already have my
 Spring/Hibernate infrastructure set up, now all that needs to go is Spring
 MVC.

 What do I need to set up Wicket? I am thinking
 - JAR file(s)
 - web.xml changes?

 Where can I find this info, without going through the Maven/Quickstart
 examples? Thanks.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3693395.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Thanks, so I should choose

Wicket 1.4.12, Spring 3.0.2, JPA 2.0 ?

I didn't see a Hibernate option in that list. Hibernate is an implementation
of JPA?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3693440.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Bruno Borges
You should pick the last 1.4 stable version, as of the time of this email,
would be 1.4.17.

Secondly, Hibernate is an implementation of JPA and has no relationship with
Wicket, but it has with Spring. You may drop all of your Spring MVC code,
and keep the rest of its service and data layers.

Why don't you run your system and save the screens in static HTML files?
That way it will be easier to apply the wicket:id modifiers to dynamic
nodes.

Then you will only have to code the presentation layer of Wicket as Java
classes.

Also, get Spring 3.0.5.


*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099



On Mon, Jul 25, 2011 at 2:37 PM, eugenebalt eugeneb...@yahoo.com wrote:

 Thanks, so I should choose

 Wicket 1.4.12, Spring 3.0.2, JPA 2.0 ?

 I didn't see a Hibernate option in that list. Hibernate is an
 implementation
 of JPA?

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3693440.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Yeah, but what are the actual steps to add Wicket to my project?

Is it just the Wicket JAR and change something in web.xml? Right now web.xml
is based on SpringMVC's DispatcherServlet.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3693688.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Zilvinas Vilutis
You add a wicket filter in the web.xml and you're done!

I've tried to use a wicket + spring + hibernate quickstart and posted
the results here:
http://blog.cikas.info/posts/27/dont-do-what-you-dont-need-to-do

Regards

Žilvinas Vilutis



On Mon, Jul 25, 2011 at 10:15 PM, eugenebalt eugeneb...@yahoo.com wrote:
 Yeah, but what are the actual steps to add Wicket to my project?

 Is it just the Wicket JAR and change something in web.xml? Right now web.xml
 is based on SpringMVC's DispatcherServlet.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3693688.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
I have a question, what if I'm not using Maven?

I have a hard time believing I need Maven to run Wicket. I just looked at
the installation instructions for Maven, they're pretty complicated and
involve setting some environment vars, are you kidding me??

I need a simple project that I can send to my teacher and he will be able to
build/run the Web app on his laptop without any problems. Does he also have
to set up Maven on his end??

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694118.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Guys, you need to add a regular-Ant, non-Maven QuickStart to your QuickStart
page. Right now it's not there, and this is severely limiting.

I was hoping at least Wicket wouldn't force me to go through some bloated
messy configuration to get a simple app in place, unlike
Spring/Hibernate/etc.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694215.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Randy Schnedler
You don't have to use maven. Download wicket and drop the main wicket jar
into your WEB-INF/libs folder. Also you need the one dependency slf4j in the
libs folder. Add the filter to web.xml and you're ready to run a basic
wicket app.

Most likely, you will also want some of the other wicket jars but that
depends on what features your app uses. Plan on adding extensions jar. if
you want to use Spring DI, include wicket ioc and wicket spring.
On Jul 25, 2011 4:17 PM, eugenebalt eugeneb...@yahoo.com wrote:


Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread eugenebalt
Thanks Randy. I added one more question about SLF4J, I am getting this
exception even after adding all the 12-13 SLF4J JARs:

Detected both jcl-over-slf4j.jar AND slf4j-jcl.jar on the class path,
preempting StackOverflowError

Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694331.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Randy Schnedler
Glad to help.  Read the intro to slf4j. You should only use two slf4j jars:
the api plus exactly ONE implementation API jar. If that implementation has
dependencies then of course you'll need to add those as well. But several
implementations don't require anything additional.
 On Jul 25, 2011 5:29 PM, eugenebalt eugeneb...@yahoo.com wrote:
 Thanks Randy. I added one more question about SLF4J, I am getting this
 exception even after adding all the 12-13 SLF4J JARs:

 Detected both jcl-over-slf4j.jar AND slf4j-jcl.jar on the class path,
 preempting StackOverflowError

 Thanks

 --
 View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694331.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread jcgarciam
Eugene, Maven is just for development usually is just required you to put
maven instalation on your hard drive, set the PATH variable to the /bin
directory in order to be able to locate mvn in your command prompt (shell)
and you're all set.

If you do that, take the wicket quickstart from wicket page and put that on
a command prompt (shell) should be enough to get that started.

In the end after finishing you just need to grab the WAR from the target
directory (by running *mvn package*) and send that war to your teacher.



On Mon, Jul 25, 2011 at 9:03 PM, Randy S. [via Apache Wicket] 
ml-node+3694473-1917891730-65...@n4.nabble.com wrote:

 Glad to help.  Read the intro to slf4j. You should only use two slf4j jars:

 the api plus exactly ONE implementation API jar. If that implementation has

 dependencies then of course you'll need to add those as well. But several
 implementations don't require anything additional.
  On Jul 25, 2011 5:29 PM, eugenebalt [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=3694473i=0
 wrote:

  Thanks Randy. I added one more question about SLF4J, I am getting this
  exception even after adding all the 12-13 SLF4J JARs:
 
  Detected both jcl-over-slf4j.jar AND slf4j-jcl.jar on the class path,
  preempting StackOverflowError
 
  Thanks
 
  --
  View this message in context:

 http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694331.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=3694473i=1
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=3694473i=2
 


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694473.html
  To start a new topic under Apache Wicket, email
 ml-node+1842946-398011874-65...@n4.nabble.com
 To unsubscribe from Apache Wicket, click 
 herehttp://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=1842946code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=.





-- 

JC


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Replacing-Spring-MVC-with-Wicket-in-Existing-Spring-Hibernate-project-tp3693395p3694669.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org