In a layered architecture, you have a presentation layer, logic layer and data layer.
So far, I've been grouping classes into domain, service and dao packages. This represents the model with POJOs/JPA Entities, the business logic and data access layer.
I suppose the domain and services could be grouped to form the logic layer but that...
The convention is that you use your company's domain. That is quite simple but what if it is something like www.mycompany.co.uk.
Now this wouldn't be a problem if it were www.mycompany.com. That is fairly simple com.mycompany.Class
What are we meant to do with the first?
uk.co.mycompany.Class OR co.uk.mycompany.Class? Or something els...
I have 100+ child packages and I need to run them in parallel from a parent package. For this I will have to create 100+ Execute Package tasks and then 100+ File Connections. This doesn't look appealing to me and it is repetative and error prone. Is there any other way to do this. Keep two things in mind.
Child package Execution should...
I am developing a Python package using a text editor and IPython. Each time I change any of the module code I have to restart the interpreter to test this. This is a pain since the classes I am developing rely on a context that needs to be re-established on each reload.
I am aware of the reload() fuction, but this appears to be frowned ...
I'm starting to get involved in quite a bit of ETL work a my current job, and everyone seems to be pretty partial to SSIS. I'm struggling trying to do the most trivial transformations through BI studio that would usually equate to a couple foreach loops with a pinch of LINQ. Im not sure of the use cases or users this tool would be usef...
I just started looking at the new FIRST Robotics Java SDK, which includes project generators to build sample robotics programs.
Something I was curious about is the file it generates begins with:
package edu.wpi.first.wpilibj.templates;
Does this actually make sense? (The library I'm using is from first.wpi.edu, but my project doesn'...
I'm a beginner in android and i tried running some code I got from the net.
Android can't import the following:
import android.net.http.EventHandler;
import android.net.http.Headers;
import android.net.http.RequestQueue;
Are these packages not included in the sdk? Where can I get these packages?
...
Hi, I'm using Apple's PackageMaker to deploy our software but one of the requirements of that software is a third-party driver which was given to us by the developer also as a package. Now while we could simply dump this on the user's desktop and ask them to run this, I was wondering how one can easily launch one package from within an...
I want to distribute a Rails application within a .app package, so it can run from 10.4 to 10.6; is there any howto or hint on how to do that? Especially the following things make me twist my head:
I want to repackage the app with Ruby 1.8.6, so it would run even if there is an older version of Ruby installed on the system (such as 1.8...
I'm trying to get the best possible performance from my quad core cpus, and i just discovered Parallel Colt (matrix-related operations).
Do you know any other package that include useful "parallel" utils (es. spanning tree, sorting, so on...)
...
I am new to SSIS and I am relying on a book, so this should be an easy question to answer.
I want to import data from all of the text files within a directory. So I create a Foreach container.
The first thing I want to do within the loop is execute a SQL task to drop and create the landing table.
Then I want to load the data into the ...
How come it is good practice within Grails to place classes in packages (e.g. mycompany.Book)?
I know it is a prerequisite in order to deploy Grails solution to the Google App Engine (using the plugin), but other than that and a well structured code library for large projects, what other benefits are there in describing packages for cl...
I've done a bunch of Java coding recently and have got used to very specific package naming systems, with deep nesting e.g. com.company.project.db. This works fine in Java, AS3/Flex and C#. I've seen the same paradigm applied in C++ too, but I've also heard that it's bad to view C++ namespaces as direct counterparts to Java packages.
Is...
I try to figure out how organize source and class files working with packages. I found a very useful tutorial. But I still have some questions.
As far as I understood it is a good practice to have an isomorphism between name of packages and name of the directories where elements of a package are stored. For example if I have a package n...
Hello,
I have a project created by others that includes thousands of class files and has the package names explicitly typed out for every reference to any of their classes. It looks like the code was reverse engineered. Is there a good tool for Java that refactors the code so that the explicitly typed package prefixes are removed from c...
In the beginning of my Java code I have:
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.event.*;
import javax.swing.*;
And then I have the following:
public class KeyEventDemo extends JFrame
implements KeyListener,
ActionListener
I am trying to understand what the...
Hi All,
I am looking for a small package in java that can extract all the class hierarchy and dependencies. I think I have to dig AST for this purpose but I am looking for a package that i can use for my application. ( don't want to re-invent the wheel )
Thanks !
...
I've read the syntax conventions for naming Java packages, and I know the general rule of thumb, but what if you've just started building your application, you haven't chosen a license, and it is a personal project? It doesn't make sense to throw in "com.mycompany" or "org.myorganization" if that is not the case. Does anyone have suggest...
Hi, I am trying to use this package: http://pypi.python.org/pypi/guess-language/0.1
I've read the documentation/wiki, but can't find the solution.
Basically, this package allows you to pass in a string, and it will return a "language".
I'm able to make it print out "en".
htmlSource = download('http://feeds.feedburner.com/nchild')
soup ...
Hi everybody !
To be quickly
today we can find a cruisecontrol debian package released on 2.3.1 ( from 2005 )
For a personal opensource project based on phpUnderControl i need to update this package to the latest release ( 2.8.3 from january 2010 )
I have following all steps from the official ubuntu documentation about packaging ...