aspose file tools*
The moose likes Struts and the fly likes Struts in BEA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts in BEA" Watch "Struts in BEA" New topic
Author

Struts in BEA

Tom Boyce
Greenhorn

Joined: Jul 03, 2003
Posts: 24
I am new to Struts and new to development altogether, but have been working some with BEA Weblogic 8.1. Is the struts implementation in BEA the same as in pure JAVA environments?
Srikanth Shenoy
author
Ranch Hand

Joined: Jan 24, 2004
Posts: 184
Since Struts is a framework and not a specification, its implementation works in all J2EE environments


Srikanth Shenoy
Author of Struts Survival Guide : Basics to Best Practices
Chris Hogg
Greenhorn

Joined: Dec 10, 2003
Posts: 5
Can you clarify what you mean by framework as opposed to implementation?
Also, if BEA took a copy of struts and added their own methods (which they may have) then I wrote an application using the version of struts packaged with BEA it would not work if I took the same code and tried to run it on say, jboss and the apache struts library, correct? And assuming this is true, how would you recommend using struts in a "vendor neutral" way?


Thanks, Chris
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I'm not 100% sure but I believe the Struts framework used in BEA WebLogic and IBM WebSphere is the same codebase as the one available from jakarta.apache.org. I'm basing this assumption on the following arguments:
- It would be very risky to be caught with your pants down trying to cause a vendor lock-in using a different Java API than in "standard" Struts
- The vendor-specific tools such as WebLogic Workshop are very much reliant on custom javadoc tags a la XDoclet, which further reduces the possible reasons for touching the actual API
- It wouldn't help migration towards the vendor's product at all
- They would have to open source their changes anyway
As I said, I'm just guessing. Would be interested to know for sure, though (which could probably be achieved by going to edocs.bea.com and reading the manual...).


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Chris Hogg:
Can you clarify what you mean by framework as opposed to implementation?
Shrikant actually said the Struts is a framework and not a specification, which means that Struts is indeed an implementation... (framework ~ APIs for custom code + implementation of common functionality)
Srikanth Shenoy
author
Ranch Hand

Joined: Jan 24, 2004
Posts: 184
Thanks Lasse for clarifying the framework,specification,implementation
The WebLogic 8.1 Workshop comes bundled with Struts for its pageflow and some propreitory .jpf files (cant remember the name) that it generates. But that's during development time.
However at runtime, you can include your own Struts library with the WAR, EAR or exploded deployment since the Struts bundled with BEA is not in its classpath to interfere with your own runtime sandbox version.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts in BEA
 
Similar Threads
how to check JNDI tree
Web server with WLS
what is the best IDE for struts?
weblogix ioException
which technology to learn