What would you suggest as a good and practical but simple pattern for a soloution with:
HTML + JSP (as a view/presentation)
SERVLETS (controller, request, session-handling)
EJB (persistence, businesslogic)
MySQL DB
And is it necessary to use an own layer of DAO for persistence? I use JPA to persist objects to my DB.
Should I withdraw business logic from my EJB? Sources online all tell me different things and confuses me...
An excerpt from Programming Perls:
A Simple Design : Antonie de Saint-Exupery,
the Fresh writer and aircraft designer, said that,
*"A designer knows he has arrived at perfection
not when there is no longer anything to add,
but when there is no longer anything to take away."*
More programmers should judge their work by this criteria.
Can any one elaborate this, please?
What does the author mean when he say "...TAKE AWAY"
I would like a php framework that:
Is simple and lightweight
It work in shared hosting (free hosting)
I'll be nice if it saves the preferred language using cookies (not necessary)
I'll be nicer if it detects user's preferred language from the browser (not necessary)
I want to build a page that displays 3 different languages. I came out with a mini localization framework but I think is kinda buggy.
Any suggestions?
Hi is there a free avaible translation backend with database avaible which can handle multiple users(no login needed), multiple languages (UTF-8) and provides automatic google translation?
I just need this tool to fill a database (preferable mysql) with simple tables like this:
language | label | text
english | _helloworld | Hello World!
german | _helloworld | Hallo Welt!
I don't care about export since this will have to be created anyways..
Thanks it would be a real timesaver if something with an usable UI exists already.
Hi,
I want to do this thing in C# (or any other .NET language), not sure how:
I have an image I captured from webcam and I want to find a specific simple object in it (let's say a red circle with a black square in it). The red circle can be a bit different from time to time (because of shadows) and the square might be also a bit brighter sometimes and even rotated a bit.
Please help me!
I'm looking for an application, which could be able to load bunch of points in space, render them and be able to simple 3D operations (select such point, rotate & move viewport).
The source has to be available, as I want to use it as basis for my own application.
GPL, MS-PL, LGPL, MIT, Creative Commons, etc.
There are a lot of licenses to your software and sources. I would like to know about that licenses (and another important ones), but on simple statements, like "free for non commercial use" or "source is free for modify but maintain the credits", etc.
guys, what are the simple tools for generating WSDL and JAX RPC mapping files from java ServiceEndPoint Interface. or I just need that generates JAX RPC mapping file generator
I've built basic shopping carts with PHP before but in an attempt to get my feet wet with OOP, I'd like to try using that method.
I come from a design background but do understand some basics of OOP but would like to see a tutorial or something simple I could base this on.
The site is small and the cart functionality required is very standard.
Can anyone offer a link to a decent tutorial or article on building a Cart with PHP OOP, a quick google didn't turn up anything decent.
hi, I am getting issue when I run sql Query having inner join, here is what I am doing very simple
ISession session = NHibernateHelper.GetCurrentSession();
string query = string.Format("select Documents.TypeId from Documents inner join DocumentTrackingItems on Documents.Id = DocumentTrackingItems.DocumentId WHERE DocumentTrackingItems.ItemStepId = {0} order by Documents.TypeId asc", 13);
System.Collections.ArrayList document = (System.Collections.ArrayList)session.CreateSQLQuery(query, "document", typeof(Document)).List();
I am getting this exception
Exception Details: System.IndexOutOfRangeException: Id
what's wrong in my query? ---
thanks
I'm trying to include a simple glossary to my LaTeX document,
I already searched for something like that on google, but never got it running.
I would like to use glossary or glossaries.
how to write it in the text?
how to print it?
what to execute on which position?
it's annoying how sqlite always returns a list of touples! i can see the why this is necessary, but when i am querying a single column, how do i get a plain list?
e.g cursor.fetchall() returns [(u'one',), (u'two',), (u'three',)]
from this, how do i get the simple list [u'one', u'two', u'three']?
Does anybody know any good simple youtube search scripts in php that I could use right off the bat? I don't want to use the Zend Framework (not installed), just the basic REST calls.
Thanks
Hi,
I a bit overwhelmed with all of the sample code I've seen on the apple dev site.
I'm looking for a simple example to show me how to load an xml file from a server into iphone.
I would like to read url's from this xml file and load an image.
Hello,
I was wondering if anyone could give me an example or point me to some example code of how to use an NSTableView. I know how to use it in core data but I would like to do this just using plain cocoa code. All I need is a simple add and remove button. Also is it possible to have cocoa write the data to a text file or plist?
Thanks for any help
What's the easiest way to create a simple HTTP server with Java? Are there any libraries in commons to facilitate this? I only need to respond to GET/POST, and I can't use an application server.
What's the easiest way to accomplish this?
im moving from a c# VS2008 world into the mac world and I just wanted to know how I can create a quick little command line based application so that I can write many little objective-c apps without worrying about creating an iPhone app or whatever.
Which projects do I create in xcode? I can see the Command Line Tool under "Mac os x" but the only options for the type is "C", "C++", "Core Data", "Core Foundation", "Core Services" and "Foundation"
but no simple objective c project?
Thanks
I need to build up a List<object> and cache the list and be able to append to it. I also need to be able to blow it away easily and recreate it. What is a simple way to accomplish this?
Hey Everyone,
I was wondering, are there any basic speech recognition tools out there? I just want something that can distinguish the difference between "yes" and "no" and is reasonably simple to implement. Most of the stuff out there seems to make you start from scratch, and I'm looking for something more high level.
Thanks!
What are the basic and simpliest steganography algorithms and methods?
I mean the steganography applied to images.
How does simple program that hides data to images work? How does the program recognize the encrypted message in image without the source image? What are the main techniques used?
I want to build a bot that asks someone a few simple questions and branches based on the answer. I realize parsing meaning from the human responses will be challenging, but how do you setup the program to deal with the "state" of the conversation?
EDIT: It will be a one-to-one conversation between a human and the bot.