Developing a framework in Java [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking forward to start developing a new server side enterprise communication framework in Java and I'm wondering if anyone knows a good book on the subject?
Some best practices and advice would be welcome.
Thanks.

"Practical API Design: Confessions of a Java Framework Architect" by Jaroslav Tulach (NetBeans architect) sounds like the best fit you're going to find.
But the best advice on developing new frameworks is: don't. Especially if you have to ask. It's very unlikely that you'll do a better job than all the people who wrote the multitude of frameworks already out there.

"How To Design A Good API and Why it Matters" by Josh Bloch.
http://www.youtube.com/watch?v=aAb7hSCtvGw

A couple of recommended books:
Patterns of Enterprise Application Architecture
Enterprise Integration Patterns

I don't know how exactly your eDMSs should connect which each other, if they are code compatible etc. But this may be helpful for you.
Check Java Content Repository (JCR) standard and JBoss ModeShape as implementation. Most of content (also document) repository software providers are JCR-Compliant, e.g. Alfresco but also other not related with Java.
Instead of writing own framework, just write simple ModeShape JCR connector for your eDMS. Then you can easly do federated DMSes, replication, use existing repository management tools, expose your repos via Web Dav, REST, comunicate with other protocols, and do many many other things with opensourced and commercial tools - your repository just must provide JCR connector.

Related

what is a good java framework for building server applications? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to code a server daemon application that provides some backend functionality. I'd like to stick to Java since I'm pretty familiar with this language and I figure it'd be much easier to just dig into a new framework and not a new language in parallel.
So far I found many promising frameworks, but all of them resemble somehow a webserver. Thing is, I don't want to code a web-application in terms of web-sites so I doubt that I'll need all the webserver-functionality such as templates and this stuff.
What would be a good suggestion for this purpose or would using a regular web-framework such as "play" without the template-stuff be the best choice?
JAX-WS is a standard for creating SOAP web services. Wikipedia link to see what it is about.
For RESTful you would need to make http requests, usually get and post and this type of service works best if you develop a website. From what I understand you don't want this, but still if ever just check the spring framework.
Raw TCP/IP is so much harder and unless you know exactly what you want (performance and optimization wise) you`re better off using a framework.
A webserver is used to implement webservices. A webserver may serve more than html to clients.
I have a personal "stack" using for a long time that is Jetty + RESTEasy and it serves no html at all (only XML and Json).
Javascript + Rest (Glassfish + Jersey for rest). Glassfish – Java EE Full profile certified reference application server (server will used for REST host).

Java (with Mule and/or Spring) vs .NET for SOA development [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
There are several posts on stackoverflow regarding Java vs. .NET, however, I feel that there needs to be more explanation with regards to each technology as applied to SOA development.
I am very new to SOA development, and of course, I have a lot of questions. It appears that everything .NET can do can be accomplished in Java, and vice versa. However, Java has a lot of other frameworks, such as Mule and Spring that can add some additional functionality in the SOA world. However, not having worked with those frameworks, I am unsure of what type of advantage they can provide (if any).
EDIT: Made the questions more objective (I had to remove questions soliciting for a comparison between .NET and Java):
The areas that I would like specifically clarified are:
What features does Mule and Spring add to the Java J2EE framework that are not provided in .NET?
Does Mule and Spring add security tools and API's that provide equivalent features to .NET?
Does Mule and Spring make Java J2EE more effective for REST and SOAP messaging capabilities?
Does Mule and Spring increase J2EE's robustness for SOA?
Does Mule and Spring make J2EE easier to develop?
I would appreciate feedback from developers who have experienced .NET and Java technologies.
Thank You
EDIT: I realized that I don't actually need Mule for SOA development. Mule is just if you need an ESB.

Which Java based workflow engine should I use? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am looking for a off the shelf workflow engine to be used in my Java based web application. Following are my initial requirements -
The engine should have a nice UI to create/manage workflows.
Should work with Oracle database
Provides java api or web service api to interact with workflow from my application so that I can build logic on the workflow.
Ability to define custom business rules.
As of now I am looking at JBoss JBPM and Drools together. Do let me know if you have experience of this or other contenders which I should consider for evaluation?
You could try Activiti. I am personally experimenting on that. It's really easy to install and
use. It's similar to jBPM. So you would not have any difficulty if you are familiar to that.
You could also refer the comparison between them.
Hope this helps you.
yes i agree with you, jBPM is a flexible Business Process Management (BPM) Suite. It makes the bridge between business analysts and developer
and
drools is good and well manged rule engine , i recommend these both to use, but you will not have ready functionality like work with oracle database its individual functionality independent from this
I'd encourage you to check this list of Open Source Workflow Engines in Java
Scientific Workflows : Kepler, Taverna <--- these are both data intensive, and are easily distributable. They were designed to deal with genomics/planetary data, etc...
For business workflows, check out JBoss JBpm, which is transactional (i.e. its not optimized for massive computationally intense workflows, but rather, its written to support business workflows that need security, database transactions, etc.

what frameworks should be chosen for the particular web application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are the factors in deciding framework to choose ,technology for a web application .any architect please provide a guidance.
Target devices - If your application needs to run on mobile devices, then your application needs to be lightweight on the client side (not too much complex javascript, light DOM structures...)
Visibility - Should your application's content be indexed by search engines? If yes, then you have to remember that for example AJAX and Flash based solutions won't be indexed (workarounds exist).
Usability - If your application needs a high usability, then you should consider creating desktop like applications - in other words, a Rich Internet Application (RIA)
Security - No matter what you answer on the previous points, you have to remember security. Using client centric solutions (business logic written in client code (eg. javascript)) are a major security risk. Remember that I only talk about the security of the architecture. No framework will give you security for free, ultimately, the level of security is always up to the developers.
Skill of the team
Familiarity with the similar frameworks
Power of the framework
Ease of development
Scope of the project. I mean what you need, or will need, what it offers, or not.
Community support, Books
requirements of the projectrestrictions of the environmenttime frame of the projectprevious foundational codecurrent abilities of team

sample java applications [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
.NET has codeplex for good sample applications to understand best practices. In Java, the first level of difficulty lies in finding a project with the frameworks you are interested to see implemented. In any case I've been unsuccessful in finding sample applications.
SourceForge.NET has many, but a lot of them are incomplete. Many other samples I find are only covering a CRUD - like Spring web site provides a CRUD, struts 2 provides a CRUD and I found some more here: http://www.learntechnology.net/content/main.jsp
None of them cover an application with decent level of complexity. I'm sure there are such projects, it's just my inability to find them.
Can someone provide the key for the treasure :-)
Edit: I got a comment asking me for specifics, so here it is:
I'm looking for a web application, built with a framework like Struts 2, Spring MVC (any action framework basically), Hibernate / Plain JDBC / JDBC templates in Spring at DAL, and no EJB's please!!
An application like bug tracker, blog template, inventory management etc.. anything that is non-trivial.
a good starting point might be appfuse it is really a sort of boot strap your project kinda thing. Make sure you go for the 'full-source' option at the end of the instructions.
As for features:
Security, with user and admin roles
Sign up
Email templates
How about the Java pet store reference implementation from the J2EE blueprints?
I guess the following link may be useful. It explains how to go about implementing a project using domain driven design
http://dddsample.sourceforge.net/index.html

Categories

Resources