Multi-Agent Transport Simulation | MATSim Developing an Enterprise Application for Oracle WebLogic Server This tutorial demonstrates how to use the IDE to create a web application that uses JavaServer Faces (JSF) 2.x and the Java Persistence API (JPA) 2.0 and then deploy the application to the Oracle WebLogic Server. In this tutorial you will register the WebLogic Server with the IDE, and then use wizards in the IDE to create a JDBC resource and entity and bean classes. You will then use the IDE to deploy the application to the server and register the new datasource. Contents To follow this tutorial, you need the following software and resources. Notes. This project uses the sample database that is available for either the MySQL or JavaDB database servers. Registering the Oracle WebLogic Server In this tutorial you will deploy a web application to the Oracle WebLogic Server. Downloading and Installing the Server Download the installer from the Oracle WebLogic Server Downloads page. Registering the Server with the IDE Open the Services window. Opening the Admin Console Note. Note. <? Note. Note. <?
Ten 100-year predictions that came true 11 January 2012Last updated at 00:09 By Tom Geoghegan BBC News Magazine John Watkins predicted Americans would be taller, tanks would exist and C, X and Q would no longer feature in our everyday alphabet In 1900, an American civil engineer called John Elfreth Watkins made a number of predictions about what the world would be like in 2000. How did he do? As is customary at the start of a new year, the media have been full of predictions about what may happen in the months ahead. But a much longer forecast made in 1900 by a relatively unknown engineer has been recirculating in the past few days. In December of that year, at the start of the 20th Century, John Elfreth Watkins wrote a piece published on page eight of an American women's magazine, Ladies' Home Journal, entitled What May Happen in the Next Hundred Years. Watkins was a writer for the Journal's sister magazine, the Saturday Evening Post, based in Indianapolis. It was picked up and caused some excitement on Twitter. 1. 2. 3. 4. 5. 6.
An Eclipse / GlassFish / Java EE 6 Tutorial » Programming For whatever reason my programming blog got lost in binary space. Because of the popularity of this page, I’ve restored in from a backup. I probably won’t restore the rest of the site though. Version 1.4, last updated May 23, 2011 – 11:10 The content of this tutorial is still relevant, but you may also consider my new open source Azzyzt JEE Tools, a set of Eclipse plugins that greatly simplify the process of creating a Java Enterprise application using the patterns outlined in this tutorial. In “4 – Equipment” I have committed myself to using Eclipse and the Java Enterprise Edition as my tools, while in “5 – Patterns And Languages” I’ve declared my high-level goals for implementing a next step of design pattern-based tools. I am no expert in this field, some important things may be missing, so just take the following as a set of things that work for me. Applicability This is a tutorial about using Eclipse and the GlassFish v3 Java application server to implement Java EE 6 applications. or
Is radix sort faster than quicksort for integer arrays? discussion at reddit There are plenty of misconceptions and confusion over radix sort on the internet. The wikipedia article is messy and unclear, and focuses more on trying to explain the philosophy (for lack of a better word) than the characteristics and capabilities of radix sort. American Flag Sort Worst case performance: O(kN) Worst case space complexity: O(k log N) In Engineering radix sort McIlroy et al. discusses how radix sort can be used successfully to sort arrays of strings, using the American Flag Sort variant. Implementation The implementation proved to be surprisingly simple. “The troubles with radix sort are inimplementation, not in conception” - McIlroy et al. (1993) The complexity is O(kN) with k = 4 for 32-bit integers. It's important to note that complexity analysis of e.g. quicksort assumes that each comparison is O(1), which isn't true in practice on real hardware nor correct in theory when considering variable sized elements. Benchmark sort Hardware: Language options:
Top 10 Causes of Java EE Enterprise Performance Problems Performance problems are one of the biggest challenges to expect when designing and implementing Java EE related technologies. Some of these common problems can be faced when implementing either lightweight or large IT environments; which typically include several distributed systems from Web portals & ordering applications to enterprise service bus (ESB), data warehouse and legacy Mainframe storage systems. It is very important for IT architects and Java EE developers to understand their client environments and ensure that the proposed solutions will not only meet their growing business needs but also ensure a long term scalable & reliable production IT environment; and at the lowest cost possible. This article will consolidate and share the top 10 causes of Java EE performance problems I have encountered working with IT & Telecom clients over the last 10 years along with high level recommendations. #1 - Lack of proper capacity planning Recommendations Recommendation
algorithm - In-Place Radix Sort Burstsort Burstsort algorithms use a trie to store prefixes of strings, with growable arrays of pointers as end nodes containing sorted, unique, suffixes (referred to as buckets). Some variants copy the string tails into the buckets. As the buckets grow beyond a predetermined threshold, the buckets are "burst", giving the sort its name. A more recent variant uses a bucket index with smaller sub-buckets to reduce memory usage. A burstsort derivative (C-burstsort), faster than burstsort: Cache-Efficient String Sorting Using CopyingThe data type used in burstsort: Burst Tries: A Fast, Efficient Data Structure for String KeysEfficient Trie-Based Sorting of Large Sets of StringsEngineering Burstsort: Towards Fast In-Place String SortingA burstsort implementation in C++: Free C++ Copy-Burstsort LibraryA burstsort implementation in Java: burstsort4jJudy arrays are a type of copy burstsort: C implementation
LAPD Drops Google Apps Plan Computerworld - After more than two years of work, the city of Los Angeles last month abandoned plans to migrate its police operations to Google's hosted email and office applications because it says the service can't meet FBI security requirements. The city council last month voted to amend a 2009 contract calling for Computer Sciences Corp. (CSC) to undertake a wholesale replacement of the city's GroupWise email system with Google's email and collaboration services. The amended pact cuts the Los Angeles Police Department and its nearly 13,000 employees out of the project; other agencies will continue the migration to Google Apps for Government. The vote came last month after the city's chief legislative analyst, Gerry Miller, and its chief administrative officer, Miguel Santana, determined that the Google service could not be brought into compliance with the FBI's Criminal Justice Information Systems (CJIS).
Buzzblog: Who's flying drones in U.S.? ... EFF sues government to find out Most of us think of drones in the military context - they're being used over there to watch and kill enemy combatants - and, collaterally, innocent civilians. Your opinion of their use likely dovetails with your opinion of the wars. But for years now they have come to be used more and more by governmental and private entities here on our home turf - not the weaponry, at least not yet - but as a surveillance tool seen as holding both great promise and the potential for great abuse. The Electronic Frontier Foundation, concerned about the latter (as we all should be) is trying to find out even the most basic information about these eyes in the sky. (2012's 25 Geekiest 25th Anniversaries) From the EFF press release: Drones are designed to carry surveillance equipment - including video cameras, infrared cameras and heat sensors, and radar - that can allow for sophisticated and almost constant surveillance.