Posted by admin on January 27th, 2010
WebStackComponents
ThefollowingcomponentsareinstalledandoptimizedforuseontheOpenSolaris2008.05
platform:
ApacheHTTPdServer2.2.8ApacheistheWebServerthatserveswebpagesinresponseto
requestsfromusers’webbrowsers.
MySQL5.0.45MySQLisarelationaldatabaseengineusedtostoremost
dynamicdata.OpenSolarisOSincludes32bitarchitectureof
MySQLdatabase.MySQLsupportsthefollowingstandard
APIs:
SQL92
SQL99
SQL2003
MySQLalsohasitsownCclientAPIwhichisdeliveredwith
theserver.
PHP5.2.4PHPisaninterpreteddynamicwebpagescriptinglanguage.A
PHPlanguageinterpreterisintegratedintotheApacheWeb
Server.PHPmoduleisintegratedwithMySQLandPostgreSQL
thatprovidesdatabasesupportforApacheHTTP(32and
64-bit),andPre-forkMPM.Thismoduleisalsointegrated
withtheNetBeansIDE.
AboutPHPExtensions
PHPmodulesareintegratedasextensions.Eachofthe
moduleshavearespectiveINIileunder
/etc/php5/5.2.4/conf.ddirectory.ThesePHPextensions
areenabledbydefault.
hotfile download: java web stackgetting started guide java ebooks
Posted by admin on January 26th, 2010
Why have the developers of PHP neglected convenient features such as multi-threading,
shared objects and thread synchronization? Obviously, they were aware of such possibi-
lities and they were capable enough to implement them. But they left them out by design.
The underlying idea is !°shared nothing!° architecture. Each request can be regarded as i
it were the only one on the system. Process management and isolation is handled entirely
by the web server. While a number of limitations are inherent to this design, its great
advantage is simplicity.
Another advantage is scalability. It is technically very hard to scale Java applications that
use session objects, as they are live Java Objects that contain code and data. They can be
accessed at any time by any number of processes and ¨C in a cluster ¨C from any number o
cluster nodes. There are solutions to this in the Java world, but they are quite complex and
often ineficient. In PHP, objects do not survive requests. Since every request is handled
independently, it is very easy to distribute PHP applications across many servers for load
balancing or fail over.
Resources opened by PHP also do not live longer than one request. Allocated memory is
released and open connections are closed when the request is complete at the very latest.
As PHP cleans up after completed requests, a badly coded script cannot kill the whole
server.
If you have a background in Java ¨C as does the author ¨C you may not think this is -
ough to build a scalable web application. Yet there are many examples of large, highly
complex projects serving heavy trafic that use PHP. If you adhere to mainstream PHP
practices, you will always be able to ind much larger projects that relect best practices
and have been running successfully for months or years.
hotfile download: php is not java session management whiteaper
Posted by admin on January 25th, 2010
The WHERE Clause
To conditionally select data from a table, a WHERE clause can be added to the
SELECT statement.
SELECT column FROM table WHERE column operator value
With the WHERE clause, the following operators can be used:
= Equal
<> Not equal
> Greater than
< Less than
>= Greater than or equal
<= Less than or equal
BETWEEN Between an inclusive range
LIKE Search for a pattern
Note: In some versions of SQL the <> operator may be written as !=
hotfile download: php 05 ebooks php ebooks
Posted by admin on January 24th, 2010
JDBC, often known as Java Database Connectivity, provides a Java API for updating and querying relational databases using Structured Query Language (SQL)JDBC is now at version 2.0, although many databases don!ˉt as yet support all ofthe JDBC 2.0 features!
loading a driver ¨Cwe need a driver to allowour Java program to talk to the DBopening the connection itself
There are two parts to this:
hotfile download:09 01 arlow jdbc turoeical july 2005
Posted by admin on January 23rd, 2010
Department of Computer Science, University of Manitoba, Winnipeg, Manitoba, Canada
Last revised: October 23, 2003
Overview:
In this tutorial we illustrate how the Java Native Interface (JNI) can be used to permit
Java programs to communicate with C programs. We begin by compiling the Java
program and the C program at the command prompt (i.e. outside of Eclipse) using the
MinGW gcc compiler. Once the programs are compiled and executing correctly, we
show how the programs can be integrated into an Eclipse project using the CDT plugin.
Requirements:
The first portion of the tutorial makes the following assumptions:
- you are using Windows;
- you have installed Java and Eclipse;
- you have installed and setup the MinGW tools as described in the Eclipse
Project CDT Plugin Tutorial available from the University of Manitoba
(http://www.cs.umanitoba.ca/~eclipse/7-EclipseCpp.pdf
).
Note: This tutorial makes use of code adapted from Sun!ˉs JNI tutorial which is located at
. If you are
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html
interested in learning more about the JNI, this is a useful site to visit.
hotfiledownload: using the java native interface java ebooks
Posted by admin on January 22nd, 2010
For live Java training, please see training courses at
http://courses.coreservlets.com/. Servlets, JSP, Struts http://courses.coreservlets.com/. Servlets, JSP, Struts
Classic, Struts 2, JSF 1.x, JSF 2.0, Ajax (with jQuery,
Dojo, Prototype, Ext, etc.), GWT, Java 5, Java 6, Spring,
Hibernate/JPA and customized combinations of topics Hibernate/JPA, and customized combinations of topics.
Taught by the author of Core Servlets and JSP, More
Servlets and JSP and this tutorial Available at public Servlets and JSP, and this tutorial. Available at public
Customized Java EE Training: http://courses.coreservlets.com/venues, or customized versions can be held on-site at your
Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6.
organization. Contact hall@coreservlets.com for details.
hotfile downloadlink:java intro overview java ebook.rar
Posted by admin on January 16th, 2010
EJB is a framework for building enterprise-scale object-oriented, distributed,
component-based business applications. EJB business applications are written in
Java, are scalable and can be deployed on any platform that supports the
EJB applications are deployed to and execute under the control of an EJB
container. The EJB container provides services typically required by enterprise
applications such as security, transaction management, resource pooling, and
systems management.
versions of the technology. Developing business applications is considerably easier
with EJB 3. The handling of persistence in particular has radically changed in EJB
3. Persistence is no longer a service provided by an EJB container but rather by a
Java applications which need to be persisted but which do not require the services
provided by an EJB container can be persisted outside an EJB container by a JPA
persistence provider. In this book we cover JPA as well as the core EJB 3 services.
This book is a concise, example-driven introduction to EJB 3. The best way to learn a
new software technology is by studying and trying out programming examples. In
this book you will see a lot of code and one example after another. We do not assume
any prior knowledge of EJB. However this book does assume at least a couple of
years!ˉ experience of Java and some knowledge of relational database technology.
The examples in this book have been deployed on the GlassFish application
server. GlassFish was chosen primarily because this is the Java EE 5 reference
implementation.
freakshare download:
part1:EJB-3-Developer-Guide2008.part1
part2:EJB-3-Developer-Guide2008.part2
Posted by admin on January 15th, 2010
Many different people helped make this book possible. Thanks to my agent Neil Salkind for getting this
project off the ground, and to Jenny Watson and Maryann Steinhart at Wiley for helping turn it from a
proposal into a book. Thanks to the technical editor, Raymond Budd, for his attention to detail in
verifying the source code for this book, and the copyeditor, Kathryn Duggan, for her attention to matters
of style and clarity.
Without the Rails community as a whole, this book would have been a lot less interesting and more
difficult. Thanks to David Heinemeier Hansson for creating Rails in the first place, and the entire core
team for the ongoing implementation. Also thanks to people like Dave Thomas and Chad Fowler for
their part in popularizing Rails. The Rails community is enlivened by a fantastic ongoing conversation of
ideas, tutorials, and arguments online. I !ˉ ve tried to acknowledge individual developers and bloggers in
each chapter, and there are too many to list here, but thanks to you all.
At Motorola, a number of managers and co – workers were supportive of my initial attempts to build Rails
projects as well as the beginnings of this book. Special thanks to Greg Bell, Anne – Marie Jolie, MaryAnn
Marks, Jay Marusich, Staszek Salik, Mike Wagner, and Michal Wieja.
Pathfinder has been amazingly supportive of this book, both in concept and in the amount of time spent.
Thanks to Dietrich Kappe and Bernhard Kappe for the opportunity. Anthony Caliendo, Michael King,
Jason Sendlebach, Alice Toth, and Lydia Tripp are all team members who have been supportive of me
and this book. Thanks to all of you.
I !ˉ d like to acknowledge and thank Wally Dodge, who was my AP Computer Science instructor, and is as
responsible as anybody for my choice of career.
I !ˉ m lucky to be part of an amazing and loving family, both immediate and extended. At the risk of
angering everybody else, I !ˉ d like to especially acknowledge my godparents, Nancy and Richard Sher,
and my cousin Dan Sher.
My parents, Donna and Donnie Rappin, have always enthusiastically supported me, no matter where
I chose to go.
My wife, Erin, still and always the best part of my life, made it through this project with grace and
humor. Thank you for everything.
My children, Emma and Elliot, are now old enough to read this for themselves. Hi! You are wonderful
and amazing kids, and I love you both.
Professional-Ruby-on-Rails-2008-java-ebooks.part1.rar
Professional-Ruby-on-Rails-2008-java-ebooks.part2.rar
Posted by admin on January 14th, 2010
Introduction
It all started with the article °Working with Java (R)C Enterprise Java on Apples website. It showed that enterprise Java on OS X
was possible, that everything worked. But it left me somewhat unhappy. As I am very GUI minded (R)C I would not be a Ma
user if I wasn°Ot (R)C I wanted an IDE that could help me with my OS X enterprise java stuff, and nowhere in that article w
any hint to such an IDE. Secondly, but very related, I want to debug my server code. And last but not least, I do not want to
spend my time writing repetitive code or code that can easily be generated. Just think about EJB-JAR.XML, a good part of
jboss.xml and even the ejb°Os and their interfaces(R)Call these getters and setters – they can easily be generated from the lay-ou
of your database..
Fortunately, I got involved in a big J2EE project, exchanging messages between unrelated services via XML and https. We
choose J2EE as the platform to implement our part of it, and JBoss as our application server.
The environment at work is Windows plus Oracle. For this article, I replaced the Oracle database by MySql, and Windows
by OS X. All the rest stayed the same. If you prefer another database, you can do so. This article describes the necessary steps
to make JBoss work with MySql. Doing this for another database is quite similar. If you want to use Windows or *nix, you
can as well: all the software used trough this article is available on all these platforms.
The IDE used is Eclipse, a free product written by IBM and backed by others (Borland being one of them). Although it lacks
some of the flashy features offered by commercial IDE°Os (just think of GUI-editors, wizards°≠), it is very good at what
does, and its performance is acceptable. It is even usable on a Pismo 500 MHz PowerBook, although you°Oll better have th
fastest dual G4 at hand if you are using it on a daily basis. Eclipse has an extensible plug-in architecture. The integration
with JBoss is handled by such a plug-in to name one. No doubt GUI-editing, EJB-generation and others will be added as
plug-ins later. (If you all register WhereDidAllMyMoneyGo?, I could do this myself).
As stated earlier, MySql is the database system I use. To generate °AEstupid code°O, I am using a command line tool call
Middlegen. JBoss is my application server, Tomcat my webserver. All these tools are available for free under a GNU licence.
Later, I might add a chapter on version control (using CVS), a chapter on XML (using Castor), but currently, I°Oll limi
myself to session and entity beans, and to JSP and servlets.
One last thing: if you do not know what an EJB is, what the difference is between a session and an entity bean, and what a
local and a remote interface is, I suggest you read the relevant chapters of Suns J2ee tutorial first.
This document is pretty much written as a step-by-step instruction (R)C making sense only when you repeat everything that i
described on your own machine while reading.
Oh yes, one more thing: I did not pay any attention to formatting and layout. Sorry for the ugly headers (R)C they are wha
Microsoft gave me.
Environment
All the stuff described in this article was written and tested on a dual GHz Quicksilver G4 running OS X 10.2.1. 10.2 is a
prerequisite for Eclipse (R)C threads on Apples Java developer mailing list learn that people using 10.1 have difficulties runnin
Eclipse. A second prerequisite is a fast Internet connection. There is over 100 megabytes to download if you want to replay
this article.
I unzipped or unstuffed all downloads with Stuffit Expander. You MUST use Stuffit Expander version 7.0 or later, as earlier
versions make a mess of long filenames.
Everything I downloaded just worked as advertised for me after unstuffing. I do not have any unsupported tools, cracked or
doubtful software or haxy installed, so my system is quite out-of-the-box.
As I am not a command line freak, I did not change the configuration of my terminal application. If you use another shell, I
guess you know enough of Unix to adapt the few Unix commands presented in this document so they work with your shell.
And yes, I have the latest version of Apples developer tools installed. (Don°Ot know if it is required though.
Posted by admin on January 13th, 2010
An application’s usability depends on its appearance and behavior–its look and feel. A consistent look and feel helps users learn an application faster and use it more efficiently. In addition, a consistent look and feel helps users learn other applications that share that look and feel.
This book provides guidelines for designing applications with the Java look and feel. All the guidelines are intended to help you create a well-designed application.
Well-designed applications have the following characteristics:
- Logical organization
- Scalability
- Predictability
- Responsiveness
- Efficiency
The rest of this chapter describes each of these characteristics, why each is important, and which parts of this book relate to each characteristic.
download Java-Look-and-Feel-Design-Guidelines-java-ebook-java-ebooks
Recent Comments