File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is use of Struts in a social networking like site worth it?

 
Bhaarat Sharma
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am planning to develop a social networking like site. Even though I know most of the social networking sites out there are developed using PHP..i dont have any experience with PHP. I do however have experience with J2EE apps and am learning struts.

My Q is..do you think developing a site like this in struts is worth it?

also, most struts applications do not provide users with the correct url to pages. I mean in the URL it does not show name of the page but shows *.action or *.do. In this case if a user of such site wants to give url to their 'profile' to someone else..how will this be done? is there a way to configure struts app so it shows complete path of the page on the web browser.

sorry if these are n00b Q's.

Thanks
 
Chris Boldon
Ranch Hand
Posts: 190
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pass parameters.

ie http://localhost/myApp/viewProfile.do?profile=myUser
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 1.x or Struts 2? The real sweet spot of Struts 1.x is with form based applications. I would think that a "social networking" site would tend to be more dynamic...more "Web 2.0" style. Struts 1.x can be used to create "Web 2.0" sites, but I don't see it as the best fit. I do not have enough experience with Struts 2 to comment on its Web 2.0 and Ajax abilities.

- Brent
 
Bhaarat Sharma
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i meant struts 2 as it already has some ajax built in I think it will be easier to get that web 2.0 feel. Also for the dynamic ability of the site i am thinking of using jQuery.

I dont have much experience with struts 2 either so hoping i'll gain some experience with it during the course of this little project. Looking forward to the Apress struts 2 book. There is no really good resource on struts 2 out there as yet.

However, If someone knows a good tutorial that shows how to use iBatis sql maps with struts 2. please post links!

I'll keep you guys updated of my progress and seek constant help on the way
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You aren't required to use .do. We use non-implementation specific actions paths like "welcome/Home".

Whether Struts/J2EE is good to use depends on your goals.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic