aspose file tools*
The moose likes Struts and the fly likes is use of Struts in a social networking like site worth it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "is use of Struts in a social networking like site worth it?" Watch "is use of Struts in a social networking like site worth it?" New topic
Author

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

Bhaarat Sharma
Ranch Hand

Joined: Jun 04, 2007
Posts: 96
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


omnipresent
Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
Pass parameters.

ie http://localhost/myApp/viewProfile.do?profile=myUser
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
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

Joined: Jun 04, 2007
Posts: 96
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: is use of Struts in a social networking like site worth it?