• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

web application development and testing without server

 
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How a web application can be developed and tested with out server(container).I want to develop an application with spring HIbernate and Struts.
Just I want to skip client side(all operation from browser ),
As I Hope Some good framework or tool available.

please suggest easiest one because I do not want to spend more time on learning
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you want to do this?
 
jacob deiter
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually I work at server side,I not even know how the client side and its stuff.Now I develop my server side component Here I want client(browser) to interact with server component ,and want to see how server component work.Also i some scenario,I want to develop server side component without its container.

Please suggest in this
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You've explained why you don't want a client. That sounds reasonable. I didn't see why you don't want to test the server side component without the server. People do mock out server calls to unit test, but that's in addition to - rather than instead of - server testing.
 
jacob deiter
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Without Server" is a Optional one,

please suggest best tool which replace client side
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There we go. Regular JUnit is good for writing "integration" tests independent of a browser. You can test your backend layer that way. To test the Struts layer, you could use a mock object library like easymock or jmock to mock out the request object.

please suggest easiest one because I do not want to spend more time on learning


Note that it takes time to learn any tool. You'll need to spend time learning.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic