Showing posts with label uncategories. Show all posts
Showing posts with label uncategories. Show all posts

Apr 29, 2008

Ebooks Beginning Ajax With PHP Tutorial


Title : Beginning Ajax With PHP Tutorial
Filetype : PDF
Pages : 235
From Apress
Release : 2007


Detail This Books "Beginning Ajax With PHP Tutorial"

Download This Books

Apr 27, 2008

Ebooks PHP 5 Advanced Download


PHP 5 Advanced with Visual Quickpro Guide
Peachpit Press
Release 2007
Filetype : PDF
Pages : 569
Total Chapter : 14
Size : 8,687 KB

Detail this books "tutorial PHP 5 Advanced"

Apr 19, 2008

cod4 private server tutorial

This is a step by step tutorial how to export models from Maya to Call of Duty 4 – Modern
Warfare. After installing the Maya Export Tools, that are included in the Mod Tools 1.0
released by Infinity Ward, you are able to add custom models to your custom maps.
How to install the exporter to Maya, please read the iWiki from Infinity Ward. The Exporter
tools are available for Maya 7 to 8.5.
http://www.infinityward.com/wiki/index.php?title=Maya

1. Setting up
1. Setup Z UP
2. Check your Scaling
3. Setup a reference scale object
4. Setup the right scale
5. Setup the shader name
6. Setup the vertex color
2. Exporting
1. Setup and Export
3. Asset Manager Setup and Convert
1. Setting up the Material
2. Setting up the Model
3. Saving the gdt file and convert
4. Importing in Radiant

Download

Apr 18, 2008

Cod4 Private Server Tutorial - Create Your Own Server


Part 1 Tutorial:


First you need to make sure you have the correct ports forwarded if you are behind a router. You also need to make sure that your software firewall isn’t blocking cod4 which will be named as ‘iw3mp.exe’ in your firewall’s program settings/exceptions.

For your router you will need to forward ports:

UDP:28960
UDP:20800
UDP:20810

For a good guide on how to do this for a specific router you can check out this site. The site lists pretty much all common routers that you’ll most likely be using. All you do once your on the site is look for your specific router from the list and click on it. Then the next page will show a ton of games, just look for call of duty 4 and click on it. You should see a short guide on how to port forward for your router on that page. It’s pretty simple; note that it will most likely only show you how to forward port 28960 but you also need to forward 20800 and 20810 as mentioned earlier. So just repeat the steps that you did for 28960 (one other way to get around this is to just put your router in DMZ mode which basically places your computer outside of it’s internet gateway. I wouldn’t recommend doing this as it could make your computer vulnerable. Handy though if you can’t be bothered to forward ports manually).

Once you have your ports forwarded for your router and your software firewall is allowing cod4 access to the internet then you can move onto the next part of this tut.

Part 2 Tutorial :

Ok, this part is easier than the first part. Hopefully you didn’t have too much trouble setting up your router (probably the hardest part). In order to get your server going you need to make a config. For your convenience here is one setup up for you: Dedicated.CFG

Download that cfg (right click save as) and open it with notepad or wordpad and then just change the server name along with rcon and save. Once you’ve done that place the dedicated.cfg file in your call of duty 4 main folder.

Default is C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\main.

Part 3 Tutorial :

Now that you have your cfg edited and placed in the right directory you need to make another shortcut for iw3mp.exe on your desktop and rename it to dedicated server or whatever you want really. This is so that you have two shortcuts to the ‘iw3mp.exe’, one for playing cod4 normally online and the other for your dedicated cod4 server. So now with your shortcut for your server you have to right click it and click properties.

Where it says “Target” you have to place this line: +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate after iw3mp.exe so it should look something like this:

“C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe” +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate

Then click apply. Note, that if it doesn’t let you apply and gives you an error then you’re doing something wrong.

Ok, after all that your server is pretty much setup and all you have to do is double click on the shortcut you made earlier. There is just one more thing you need to figure out or perhaps two?… that is, your ip which is pretty easy. Just google my ip and you should find it no problem and also how to make your ip static so that people can find your server at any time without your IP changing everytime you reconnect to the internet (provided your server is running). For those with a static IP you’re ok but i doubt anyone reading this tut will have a static IP as most of us are using dynamic IP’s set from our ISP’s end that change each time we connect to the net or when our computer/router is restarted.

If you’ve done all that, you can simply click on your server shortcut and a cod4 console window will open. This is totally normal and means that your game is running in dedicated server mode.

You’ll now be able to tell your friends your server ip, which is obviously your ip and port 28960 next to it. If you want to setup a static DNS/IP please read on.

Part 4 Tutorial :

To overcome the dynamic IP problem mentioned earlier you can create an account at no-ip.com and setup a managed DNS account. After which you will need to download their software and install it on your computer.

So follow these steps:

1. Create an account at no-ip.com

2. Login to your account

3. Once in your account click on ‘Add’ which is under Hosts/Redirects on the left navigation.

4. Think of a host name and type it in the hostname field under host information in the middle.

5. Pick a domain name of your choice from the drop down list.

6. Make sure your IP is shown in the ‘IP Address’ field

7. Now just click on the ‘Create Host’ button at the bottom.

8. Next you download their software.

9. Install and run the program, then login to the program.

More information http://dead-x-clan.com/cod4-private-server-tutorial-create-your-own-server/

Apr 9, 2008

Java XML APIs for XML Kick Start

Introduction Java XML Api Tutorial for XML Kick Start Is Organized?

Each of this book's parts are described using simple and easy-to-follow sample applications.

The first part covers the basics you'll need to learn before you can start using JAX. These include understanding the constituent components of the Web service architecture: SOAP, UDDI, and WSDL. Also covered in this part is an overview of the specific APIs.

The second part describes the Java APIs for XML Processing (JAXP), covering the SAX, DOM, and XSLT specifications. The XML processing specifications enable an application to parse an XML document in different ways.

The third part describes the Java APIs for XML Messaging (JAXM). These APIs make it possible for applications to programmatically create and send SOAP messages.

The fourth part covers the Java APIs for XML Registries (JAXR) and Remote Procedure Calls (JAX-RPC). These APIs provide the necessary mechanism for applications to connect to UDDI-based registries and submit, manage, and query data. JAX-RPC enables applications to perform remote procedure calls over the Internet.

The fifth part describes a case study that shows how the components of JAX work together to create a successful Web service. This part also has brief descriptions of the Java Architecture for XML Binding (JAXB) and upcoming APIs that will provide even more flexibility in developing XML-based applications using Java.

Finally, there are two appendixes: The first appendix describes how to download and install JAX, and the second provides a quick overview of XML.


Introduction
How This Book Is Organized
Source Code and Updates

Part I. JAX Basics
Chapter 1. Using XML for Electronic Data Interchange
XML and EDI
Java and XML
Summary

Chapter 2. Components of Web Services
Web Services
SOAP
UDDI
WSDL
JAX and Web Services: The Great Car Parts Company Scenario
Summary


Part II. JAXP: Java API for XML Processing
Chapter 3. Implementing Simple APIs for XML
The Packages in JAXP for Using SAX
The Key JAXP Classes and Interfaces for SAX Support
The JAXP and Reference Implementation JAR Files
Creating a SAX-Parsing Application
Summary

Chapter 4. Advanced Use of SAX
Identifying Document and Event Locations
Handling Lexical Events
Customizing External Entity Resolution
Handling Namespaces
Generating SAX Events from a Text File
Summary

Chapter 5. The Document Object Model
Overview
The DOM and the JAXP Packages
Creating a DOM Application
Accessing XML Data Using DOM
Managing Data Using DOM
Summary

Chapter 6. XSLT and XPath
Overview
The XSLT Packages
Using XSLT with DOM
Using XSLT with SAX
SAX or DOM?
XPath
Transforming XML
Creating the MyXSLTTransformer Application
Summary


Part III. JAXM: Java API for XML Messaging
Chapter 7. Messaging Fundamentals
JAXM Message Exchange Categories
Interoperability with Other Messaging Applications
JAXM and SOAP Messaging Styles
JAXM Elements
The JAXM Packages
Summary

Chapter 8. Creating Client Implementations
Standalone Client Implementation
Client with Messaging Provider
Summary


Part IV. JAXR and JAX-RPC
Chapter 9. Registry Fundamentals
Existing Registries
Registry Uses
Registry Use Model
The Registry Information Model
The JAXR Specification
The JAXR Architecture
The JAXR Packages
Summary

Chapter 10. JAXR Implementations
The JWSDP Registry Server
Publishing Data to a Registry
Querying Data from a Registry
Deleting Data from Registry
Summary

Chapter 11. Working with JAX-RPC
JAX-RPC Working Mechanism
Constituents of a JAX-RPC Server and Client
JAX-RPC Packages
The javax.xml.rpc Package
The xrpcc Tool
The Types Supported by JAX-RPC
The CarPartRequest Web Service
The CarPartRequestClient Application
Summary


Part V. JAX in the Real World and the Future
Chapter 12. Case Study: Deploying a Web Service Using JAX
Case Study Description
Order of Development
Setting Up the JWSDP Registry Server
Creating Applications That Register Supplier Information to the Registry
Developing the Web Services
Summary

Chapter 13. Looking Ahead: JAXB and Beyond
Java Architecture for XML Binding
JAXB Components
JDOM 1.0
XML Trust Service APIs
XML Digital Signature APIs
XML Digital Encryption APIs
XML Transactioning API for Java (JAXTX)
ebXML CPP/A APIs for Java
Streaming API for XML (StAX)
Java APIs for WSDL
Summary


Part VI. Appendixes
Appendix A. Installing the JAX Pack
Java XML Pack
Java Web Services Developer Pack (JWSDP)
JAX XML Pack or JWSDP?
Getting and Installing JWSDP

Appendix B. XML: A Quick Tour
What Is XML?
A Sample XML Document
The XML Declaration
Comments
The Root Element
Processing Instructions
Elements
Attributes
Character References
Entity References
CDATA Section
Document Type Definition (DTD)
The Document Type Declaration
Declaring Elements
Declaring Attributes

Download This Books

Apr 6, 2008

JSTL in Action

Like JSTL, this book is aimed at both programmers and nonprogrammers. Parts 1, 2, and 3 are accessible to page authors who start out with nothing more than HTML. Part 4 is intended for Java programmers—and ambitious page authors who want to learn more about how JSTL works behind the scenes.


In part 1, we look broadly at the Web and at two technologies that are important foundations to JSTL: JavaServer Pages ( JSP) and the Extensible Markup Language (XML).

In part 2, we delve into JSTL’s depths. Chapters 3, 4, and 5 lay the necessary groundwork by discussing JSTL’s expression language, conditions, and loops. Chapters 6 through 10 discuss the more exciting features of JSTL: database access, XML manipulation, text importing and formatting, and so forth.

In part 3 (chapters 11, 12, and 13), we look at progressively more complete and integrated examples of JSTL in action. We start with common, stand-alone tasks and move to an example of organizing an entire site—a web portal—using JSTL.

Finally, part 4 discusses how to configure JSTL, integrate Java code, and even write custom tags using JSTL’s API. The appendices contain reference material. Appendix A is a brief summary of all of JSTL’s tags. Appendix B lists JSTL’s API and goes into detail about some of its advanced features. Appendix C describes the basics of SQL to help you follow some of the book’s examples, and appendix D lists online and printed references.

How to approach the book :
If you’re a web-page author who knows HTML, you’ll probably want to start at the beginning. Chapters 1 and 2 will be particularly useful to you, and you can read the rest of the book in order, stopping somewhere around chapter 14 if the material becomes less interesting to you. If you already know JavaScript, pay special attention to chapter 3, because you’ll need to master the details of JSTL’s expression language.

JavaScript won’t help you produce dynamic server-side logic in this environment. If you don’t know SQL, appendix C will help you follow the book’s database examples. If you’re an experienced Java programmer looking to master JSTL in order to use or teach it, you can probably skip part 1. You might want to begin by focusing on the expression language in chapter 3. Chapters 4 and 5 will be a breeze, but the rest of part 2 should be useful in orienting you to JSTL’s tag-set. The examples in part 3 will be useful, and part 4 is specially intended for you. Also, appendix B is both a thorough reference and an indispensable introduction to some of JSTL’s advanced features.

If you have a background in JSP but aren’t familiar with Java, then parts 2 and 3 will be particularly useful to you. Also, the beginning of chapter 14—integrating JSTL with scriptlets—might be helpful. In general, the book gets more advanced as it moves forward. Most readers will gain less by reading the book backward (but if you find any interesting hidden messages that way, be sure to let me know).

Download JSTL in Action

Apr 3, 2008

Beginning Hibernate From Novice to Professional


Introduction Beginning Hibernate From Novice to Professional:

Hibernate is an amazing piece of software. With a little experience and the power of Java 5 annotations, you can build a complex database-backed system with disturbing ease. Once you have built a system using Hibernate, you will never want to go back to the traditional approaches.

While Hibernate is incredibly powerful, it presents a steep learning curve when you first encounter it—steep learning curves are actually a good thing, as they impart profound insight once you have scaled them. Yet gaining that insight takes some perseverance and assistance.

Our aim in this book is to help you up that learning curve by presenting you with the minimal requirements of a discrete Hibernate application, explaining the basis of those requirements, and walking you through an example application built according to them. We then provide additional material to be digested once the fundamentals are firmly understood.
Throughout, we provide examples rather than relying upon pure discourse.
We hope that you will continue to find this book useful as a reference text long after you have become an expert on the subject.

Contents :
How This Book Is Structured
This book is informally divided into three parts.

Chapters 1 through 8 describe the fundamentals of Hibernate, including configuration, the creation of mapping files, and the basic APIs.
Chapters 9 through 11 then describe the use of queries, criteria, and filters to access the persistent information in more sophisticated ways.
Finally, the appendixes discuss features that you will use less often, or that are peripheral to the core Hibernate functionality. The following list describes more fully the contents of each chapter:

Chapter 1 : outlines the purpose of persistence tools and presents excerpts from a simple example application to show how Hibernate can be applied. It also introduces core terminology and concepts.

Chapter 2 : discusses the fundamentals of configuring a Hibernate application. It presents the basic architecture of Hibernate and discusses how a Hibernate application is integrated into an application.

Chapter 3 : presents the example application from Chapter 1 in its entirety, walking you through the complete process of creating and running the application. It then looks at a slightly more complex example and introduces the notion of generating the database schema directly from the mapping files.

Chapter 4 : covers the Hibernate life cycle in depth. It discusses the life cycle in the context of the methods available on the core interfaces. It also introduces key terminology and discusses the need for cascading and lazy loading.

Chapter 5 : explains why mapping information must be retained by Hibernate, and
demonstrates the various types of associations that can be represented by a relational database. It briefly discusses the other information that can be maintained within a Hibernate mapping.

Chapter 6 : explains how Hibernate lets you use the Java 5 Annotations feature to represent mapping information. It provides detailed examples for the most important annotations, and discusses the distinctions between the standard EJB 3 annotations and the proprietary Hibernate 3 ones.

Chapter 7 : explains how the XML-based mapping files can be used to represent mapping information in Hibernate. It provides examples for all of the most common mapping types and reference notes for the more obscure ones.

Chapter 8 : revisits the Hibernate Session object in detail, explaining the various methods that it provides. The chapter also discusses the use of transactions, locking, and caching, and how to use Hibernate in a multithreaded environment.

Chapter 9 : discusses how Hibernate can be used to make sophisticated queries against the underlying relational database using the built-in Hibernate Query Language (HQL).

Chapter 10 : introduces the Criteria API, which is a programmatic analog of the query language discussed in Chapter 9.

Chapter 11 : discusses how the filter API can be used to restrict the results of the queries introduced in Chapters 9 and 10.

Filetype : pdf
Page 359
Download Beginning Hibernate From Novice to Professional