Which programming language has extension .do - file-extension

Just wondering which programming languages is used on the web pages with the extension ".do"

According to FileInfo, the file extension is for Java Servlets.

Strictly speaking, you can't tell for sure just by looking at the extension. I can configure a web server to interpret *.do URLs as referring to PHP files or even executables and run it accordingly. In fact, *.do URLs may not even refer to files at all! It really does depend on how the server is configured.

That is typically not so much a programming language feature but a framework feature: apps developed with Apache Struts (see http://struts.apache.org/) typically use that extension.

.do extension is used to build a J2EE enterprise application using Struts and dao factory method that is latest technology framework to build EE applications. It is much faster and efficient than JSP and JSF.

Related

JSON server suggestion on linux platforms

I need to create a JSON service to get and post data from a local and remote http/https server on Linux for my mobile apps. -I'm using MySQL as DB engine-
I tried with Glassfish EJB/JSP (I like Java), but it was a kind of frustrating, due the poor support that my linux development machine (mint 13) has for Oracle Glassfish.
In your opinion, what is the best way to make a remote JSON server on that environment? which alternatives do I have?
If you want to accept and send back JSON, you want a JAX-RS-based service, not a JSP one.
You will most likely use Jersey, RESTEasy, CXF, or similar implementations of the JAX-RS specification.
Sending back JSON from a JAX-RS implementation is trivial; that's what JAX-RS is designed to do. Generally speaking, JSP is used for web applications (where HTML, CSS, images, and JavaScript are returned), while JAX-RS is used for RESTful web services, where JSON, XML, and YAML is returned. You can use JSP to produce JSON, but it is not common.
As far as your overall architecture is concerned, any webserver is fine (Apache, Tomcat, etc.) and you can use either Springframework or a full app server like JBoss or Glassfish. Springframework has its own REST support, but I've used JAX-RS several times with Spring and it works very well. Since you already are using Glassfish, integrating a JAX-RS implementation should be straightforward. This article from Oracle shows you how.
Well, I guess you need to find a good framework where you feel confident.
I use Zend PHP + Doctrine to serve my apps. Why? I just create simple controllers in a good MVC like Zend and use all power from Doctrine to handle queries. Ok, but why? Because I develop quick and neat code on it.
Best

OpenCMIS supported ECM

We are planning to develop an application that can work with any ECM systems. SO we planned to use CMIS.
As our application is in Java, I came across openCMIS. It seemed all useful.
But now I need to know, which all repositories are tested/supported with openCMIS?
OpenCmis will be really helpful for many ecm systems but it is not a one common answer for all of them.
For example, for IBM CM or Filenet there is IBM CMIS which comes bundled with Content Navigator. Please note this is also lacking some basic functionalities and i developed that just recently. (on the latest version)
I would recommend to build the java application using the most relevant CMIS apis you need and for the closest specific ECM product.If you want to build it in a way which works on all ECM platforms then the coding needs to be in different way.
like - identify which ecm system is being called by your java program
and then load the classes or functions for that specific system.
Hope the above helps :)
This page lists CMIS servers:
http://en.wikipedia.org/wiki/Content_Management_Interoperability_Services
OpenCMIS is one the mostly used CMIS libraries, and I would say it is the most-tested CMIS library you can find.
I have not seen any "official supported list", but OpenCMIS at least works for Alfresco, IBM FileNet, NemakiWare, and most CMIS servers I have tried. A notable exception seems to be IBM Connections, because of a IBM Connections bug.

Examples of Struts2 applications

I am working on a static analysis for detecting security vulnerabilities in web applications, and I am looking for some web applications to run my analysis on.
More specifically I am right now looking for open-source web applications that use the Struts2 framework, but I have a hard time finding such applications.
Does anyone know of some more or less complete and open-source web applications written using Struts2 (or possibly just plain JSP)?
The very complete and stable Struts2 application i use for log file analysis is KonaKart. The advantage is that you can set it up on your server, including demo data and configure it and use it as you wish.
In terms of openness:
"Only the customizable parts of KonaKart are open source. These include the Struts action classes and
forms, the JSPs, the payment modules, order total modules, shipping modules and the GWT One Page
Checkout code. They are shipped under the GNU Lesser General Public License."
If you need 100% open source it is not for you.
Projects Using WebWork or Struts2
https://cwiki.apache.org/S2WIKI/projects-using-webwork-or-struts2.html
Others
http://api.cnn.com/
http://www.allhomes.com.au/
Check these tutorials. there downloads are available. link1, link2

What does .do webpage stands for

I would like to know what does .do webpages stand for ( as .php stands for PHP pages with PHP Scripting) and what is the scripting language behind it.
http://www.fileinfo.com/extension/do
According to WikiPedia, .do is:
a pseudo file extension representing
an Apache Struts action. It does not
map to an actual file extension,
although it appears that way.
However, you can't really say anything about the technology behind based solely on the "extension", i.e., the server can be configured to use .do for PHP files etc. This can be done in order to secure backwards compatibility or whatever.
.do is the commonly used convention to denote a Struts action. Like .jsf for JSF .
But there is no compulsion that all struts action should map to .do extenstion. It can be configured in
web.xml to .anything. Also a simple servlet can also be mapped to a .do extension. So nothing can be derived by just looking
at the URL.
While .do seems to be a Struts convention, it is used in Spring and Spring MVC as well. This SO thread talks a little bit about that, also noting that whereever Servlets are used, '.do' files can be used: Why do Java webapps use .do extension? Where did it come from?

Strongly-typed languages for web programming

Are there any strongly-typed programming languages for the Web? I program in PHP now, but often I wish it yelled at me when I tried to compare a number to a string. Functions in the standard library that can return either a bool or an integer don't make anything easier either.
I know there's .NET, but is it my only choice?
You can develop Java web-applications. See JSPs.
Java? C++? Any language can be a web language... More details on your requirements would be needed to make a specific recommendation.
Python is a powerful, and popular dynamic strong typed language for web development:
PyWeb
Django
Pylons
Wt is a good C++ web framework
Python is strongly-typed, and widely used for web.
You can use Java for web development. You would then need Tomcat or another Servlet Container that supports the deployment of Java Servlets and JSPs.
Best wishes,
Fabian
There is an OCaml web programming framework, and OCaml is strongly and statically typed if that's what you are looking for.
I just came across Lift - a framework for web development using Scala.
Wt is a web development framework for C++.
Seaside is a web-framework for Smalltalk.

Resources