تبلیغات
Java programming

Java programming

یکشنبه 25 اسفند 1387

Chapter 1 - The basic concepts of J2EE

نویسنده Author :   

The basic concepts of J2EE
Purposes
In this chapter, we do our best to introduce J2EE basic concepts.
Servlet & JSP
If you ahve ever worked with JSP & Servlet, you know that Servlet is so proper for processing functions but there are particular problems with it in displaying functions.

JSP is applied reverse to Servlet. Thus, what is the solution? To apply both JSP and Servlet together!

What is MVC?
MVC is an easy way to use JSP & Servlet together. In MVC architecture, the request will be processed by a Class (Servlet) and the appropriate response will be showen by JSP.
n the above Servlet Class, the validation operation, etc will be done.

Nowadays, there are numerous Frameworks which will assist you to use MVC Framework architecture. Struts Framework is the most well-known one.
MVC or JWMS ? That is the problem! Perhaps both!

MVC is a powerful architecture, but it is required an advanced architecture to implement developed projects.
Today, web applications are well developed which complicatethe work for programmers & developers.
To clarify it, see Google site! Google Web Application enjoys numerous services, each have a special service for the users.
For Instance, Gmail service, E-Mail or by SearchEngine, the users can search for websites, pictures, etc.

These services have certaily close communication with each other.
If the services do not use a particular architecture, the Google will encounter with various problems.
In Service Oriented architecture, each part of the program is a service programme. For example, E-Mail service, SearchEngine service, etc.

, .....

for get full this paper plz goto : J2EE And Service Oriented Programming
in :

http://groups.google.com/group/j2sos

یکشنبه 25 اسفند 1387

Introduction

نویسنده Author :   


The purpose of compilation of the this paper
A few years ago, when I was the software architect of a big project with J2EE, I advised some of the modern tools of that time to the project manager. He acknowledged it. Therefore, we began deploying our
Enterprise on Java platform. However, we encounterd with many problems, as we got ahead the project. Our tools were included Struts Framework, Spring Framework & Hibernate.

I convinced that MVC architecture is the best option to develop macro projects! However, I believe it now, as well. Couldn't it be more completed? In developed
Enterprise projects, an advanced architecture is required to divide the project, technically. The project was successfully finished after one year, but my mind was busy with it for a long time!

Then, I began implementing an Application Framework and registered it in Sourceforge.net as an Open Source Framework. I developed some
Enterprise projects & some other J2EE frameworks, as well. I achieved a good result! The velocity of implemention & developing projects increased up to 50%. Subsequently, by cooperation of my elected students who had worked with Application Framework, I established an organization, named J2SOS, to protect & develop this Application Framework.
Fortunately, my students were so skilled that each took a chief task in big J2EE projects.
Their experiences had a practical affect on development of Application Framework as well as the organization.
Therefore, it is required to write down my & my yesterday students (my today co-workers) experiences. This was the outset to write the present paper!

یکشنبه 25 اسفند 1387

list of chapter about Shine J2EE Framework

نویسنده Author :   

Chapter 1: Basic concepts of J2EE
- Servlet and JSP
- MVC
- MVC or JWMS? That is the problem? Perhaps both!

Chapter 2: Basic concepts of Shine Framework
- What is "Shine Framework?
- The components of Shine Framework
- Implimentation of an application by Shine Framework

Chapter 3: The objects of Shine Framework
- The types of objects in Shine Framework

Chapter 4: Engineering & Communication items
- The communication of Shine Framework with the other
existing Frameworks
- The major purpose of Shine Framework

یکشنبه 25 اسفند 1387

What is Shine J2EE Framework

نویسنده Author :   

Hi Dears

Shine is a Java-J2EE Application Framework/JWMS(Java Web Model Service)Framework/MVC Framework/Service Oriented Framework. Shine Includes
Ajax Libs/Server API/J2EE Architecture. Shine Supported JSF/Spring/AspectJ/Struts/Hibernate/...

You can use Shine Framework for Implement ERP Web Based Application, Web Based Operating System, WFM Web Based Application, CRM Web Based Application, HRM Web Based Application, BPR Web Based Application, Or ... Web Based Application, Shine Registered in Source Forge.

This Framework is a Java Service Oriented Framework for Web Based Project. This Framework include:

* MVC (Model View Controller)
*
Ajax
* Service Oriented Scope
* JWMS (Java Web Model Service)

Shine Framework is a Java Web Model Service Framework.
Shine Framework is very easy, stable. You can use other Framework by Shine Framework:
*Hibernate
*Struts
*Spring
*And Other Framework

JWMS And Shine J2EE Framework ?
JWMS is a J2EE Architecture for implement Service Oriented Web-Based Appliction you can get more information about this and Shine J2EE Application Framework by -> J2EE And Service Oriented Programming :

http://j2sos.googlegroups.com/web/J2EE_And_Service_Oriented_Programming+(English).doc?gda=VCp-YWkAAABaK1bFJn7XMhSpdkjvrT6Pd5MA3H6uh5taxEUxR6gwSUWwa05VcrqgHRSC0l_xcf_5FoxLEBXNbyq4-bBifvraWOZGQE6LgzeTU5Q6eFny4M-fIZvKNC5H8bRWhAn1psCECKgQbmraGdxlZulaYnsh

Or

http://j2sos.googlegroups.com

 
Site: www.J2SOS.org

Special Thanks Oracle! For this Part! Your Site is very Active about J2EE - Java!

This paper is no image paper !!!!!!!!!!!!!!!!!!!

J2EE and Service Oriented Programming
Authored by: AmirSam Bahador
Level:
Advanced
Contents:
Introduction
- The purpose of compilation this essay

شنبه 14 دی 1387

see us web site on sourceforge.net

نویسنده Author :   

for more informaton about all technology and framework of java

check our site on sourceforge.net by the way this link

http://shine-app.sourceforge.net/

شنبه 14 دی 1387

more information

نویسنده Author :   

for more information just check this project on sourceforge by the way this link

http://sourceforge.net/search/?type_of_search=soft&words=shine

جمعه 6 دی 1387

Shine And Hibernate Sample

نویسنده Author :   

in this sample, i say about Shine J2EE Application Framework And Hibernate
ORM Framework!
in this sample i have a MyMappingClass!
I added hibernate lib to my shine application!
i created DAOClass, DTO.hbm, DTOClass, other setting in hiberante
framework.
now i create object from dao class in rater method!

package view;
import j2sos.shine.controller.Mapping;

public class MyMappingClass extend Mapping
{
public void rater()
{
try
{
HibernateDAOClass myobject = new HibernateDAOClass();
myobject.insert("Amirsam","Bahador");
}
catch (Ecxeption e)
{
//....
}

}
}

جمعه 6 دی 1387

A new aspectj File!

نویسنده Author :   

A new aspectj File!

package view;

public aspect MyAspect4MyMappingClass2
{
pointcut remoteRouter():call(void MyMappingClass.rater());
after():remoteRouter()
{
System.out.print("i am remoteRouter()!, reter method called!");
}
}

you can view 'after' word in up code!

when you call rater, after rater execute:

output: i am remoteRouter()!, reter method called!

جمعه 6 دی 1387

Shine And AspectJ Sample!

نویسنده Author :   

You can use AspectJ in Shine J2EE Application Framework.
For Sample you can add AspectJ Lib in your Shine Application!
In this sample MappingClass is:

package view;
import j2sos.shine.controller.Mapping;

public class MyMappingClass extend Mapping
{
public void rater ()
{
forward("Service Name In Web.xml file","Tag Name In Service File");
}
}

Now ! if you create an aspectj file you can remote this class
"MyMappingClass "

For sample i create an aspectj file for MyMappingClass!

package view;

public aspect MyAspect4MyMappingClass
{
pointcut remoteRouter():call(void MyMappingClass.rater());
before():remoteRouter()
{
System.out.print("i am remoteRouter()!, reter method will calling!");
}
}

when you call rater, before rater execute:

output: i am remoteRouter()!, reter method will calling!

جمعه 6 دی 1387

J2SE

نویسنده Author :   

One of the most dynamic programming languages used by computer programmers
today is Java. Especially in the case of servers and mainframes and
big-picture systems, Java makes business processes happen. Technically and
historically, Java is the creation of Sun Microsystems. This venerable
computer company produces both hardware and software, and Java is one of
its software offerings. Other companies now create Java applications, but
Sun was there first.

One well-known type of Java application is the applet, a sort of
fast-working subroutine that is largely platform-independent and can work
within other frameworks. Applets are mini applications that perform a
variety of functions, large and small, mundane and dynamic, within the
framework of larger applications. Technically, an applet is like an
application lite, as its name suggests. A software developer who is
proficient at developing applets is in significant demand.

A prime example of an applet is a browser-based plugin, such as the one
that allows users to see Flash movies or hear audio files by clicking on a
Web page link. Such a click keeps the user in the browser environment,
while simultaneously launching the application-within-an-application that
is the applet, showing the requested video or playing the requested sound.
Many online games are applet-based as well.

Java has advanced through the years in both functionality and reach.
Current editions are on the Java 2 Platform, which is, not surprisingly,
the second main incarnation of Java software. The Java 2 Platform has
various incarnations as well, including Java 2 Platform, Standard Edition
(J2SE). J2SE is used primarily for writing applets and other Java-based
applications.

The Java 2 Platform has three basic Editions: Micro, Standard, and
Enterprise. They have increasing amounts of functionality and flexibility,
with the Micro Edition being used for small-range applications and the
Enterprise Edition being used for large, server-based functions. In the
middle is the Standard Edition, or J2SE. J2SE has applications up and down
the requirements ladder, filling needs for both individual and complicated
users.

One of the primary uses of J2SE is the development of Java applications
for individual computers. Web-based activity sometimes lives and dies by
the successful integration of applets into e-commerce and other
Web-specific functions. J2SE applets and other applications make these
functions run smoothly; without them, many transactions and other Internet
interactions would not take place. In this way, J2SE is a tremendous
enabler of Web activity.

Another important functionality made possible by J2SE is JavaBeans. These
are reusable applications that can be developed and assembled easily in
order to create more sophisticated applications. Basically, they are the
building blocks of personalized J2SE applications. Java may be the base
technology, but JavaBeans are what makes J2SE functionality and
individuality really click.

good luck.

جمعه 6 دی 1387

J2SE consists some technologies to develop Desktop Applications!

نویسنده Author :   

J2SE consists some technologies to develop Desktop Applications!

major commands of java are positioned in J2SE and it consists 2 major
parts:
--> Java programming language
--> J2SE libraries

جمعه 6 دی 1387

J2SE is Java 2 Standard Edition.

نویسنده Author :   

J2SE is Java 2 Standard Edition.

J2SE features:

* Portability
* JDBC API for database access
* CORBA technology
* Java secuity

J2SE consists of two components: Core Java and Desktop Java.

Core Java provides back-end functionality, while Desktop Java provides
GUI (Graphical User Interface) functionality.

J2SE contains both the J2SE Development Kit (JDK) and the Java Runtime
Environment (JRE)


sun:

Java Platform, Standard Edition (Java SE) lets you develop and deploy
Java applications on desktops and servers, as well as today's
demanding Embedded and Real-Time environments.

sara lenin

جمعه 6 دی 1387

J2SE is a collection of Java Programming Language API (Application

نویسنده Author :   

J2SE is a collection of Java Programming Language API (Application
programming interface)
that is very useful to many Java platform programs. It is derived from
one of the most dynamic programming language known as "JAVA" and one of
its three basic editions of Java known as Java standard edition being
used for writing Applets and other web based applications.

J2SE platform has been developed under the Java umbrella and primarily
used
for writing applets and other Java-based applications. It is mostly used

for individual computers. Applet is a type of fast-working subroutine of

Java that is platform-independent but work within other frameworks.
It is a mini applications that perform a variety of functions, large and

small, ordinary and dynamic, within the framework of larger applications.


J2SE provide the facility to users to see Flash movies or hear audio
files
by clicking on a Web page link. As the user clicks, page goes into the
browser environment and begin the process of launching
application-within-an-application
to play the requested video or sound application. So many online games are

being developed on J2SE. JavaBeans can also be developed by using J2SE.

alen smith

جمعه 6 دی 1387

Shine j2ee framework sites

نویسنده Author :   

website SHINE framework in sourceforge

http://shine-app.sourceforge.net/

Website team support SHine framework

www.j2sos.org

link download SHINEframework

http://sourceforge.net/projects/shine-app/

جمعه 6 دی 1387

Wireless Application Protocol - WAP

نویسنده Author :   

I have just this document about WAP , but I think that will be interest for
you:

Wireless Application Protocol - WAP

What Is WAP?

Mobile world meets cyberspace
Mobile Internet is all about Internet access from mobile devices. Well,
it�s true, but the ground realities are different. No doubt Internet has
grown fast, well really fast! but mobile Internet is poised to grow even
faster. The fundamental difference lies in the fact that whereas academics
and scientists started the Internet, the force behind mobile Internet
access is the cash-rich mobile phone industry. Mobile industry has always
been looking for more avenues to make more money and in this attempt, the
mobile industry besides carefully finding about the needs and requirements
for a mobile data user is also creating new demand patterns also. What
makes things even more favorable for the mobile Internet is that it already
has a lot of Internet-based content from which to draw. This can be adapted
for display on mobiles in a number of ways. A website can be viewed using a
phone that is WAP-enabled.

A mobile is something that we take along with us where ever we go (unlike
our computers) and that is one of the reasons many analysts believe that
within three years more people will be accessing the Internet from mobile
phones than from office or home computers.

Well, a variety of mobile wireless standards exist today, each have
different levels of data capabilities. Thanks to the developments taking
place in all the 2nd generation mobile wireless data technologies, and the
high data speeds being promised by the 3rd generation systems, the
distinction between the wireless, wireline and the Internet service
providers is beginning to blur. Mobile Internet access surely is poised to
be a major commercial success. While the underlying network technologies
keep on evolving, what is going to differentiate on network from the other
is finally the services that it provides to the end user. Data services
provided by the mobile networks are fast becoming popular and in some
countries in Europe people are spending more on mobile data access compared
to voice services. This presents a huge opportunity for the mobile data
service developers.

The issue is that with a range of mobile devices and underlying mobile
wireless technologies, developing services specific to each type of
equipment and specific to a particular technology is troublesome. An
application written for specific equipment and a specific technology
won�t work anywhere else. This calls for a standardization, which
provides a generic model where applications can be written without keeping
in mind the equipment and the technology. On the equipment side, the
wireless devices represent the ultimate constrained computing device with:

* Less powerful CPUs,
*

Less memory (ROM and RAM)
*

Restricted power consumption
*

Smaller displays
*

Different input devices (e.g., a phone keypad, voice input, etc.)

and on the network side, wireless networks are constrained by

*

Less bandwidth
*

More latency
*

Less connection stability
*

Less predictable availability

However, most important of all, wireless subscribers have a different set
of essential desires and needs than desktop or even laptop Internet users.
With the emergence of 3G technologies, the constraint on the low data rates
may not be as limiting as it is today but is must be understood clearly
that, as bandwidth increases, the handset�s power consumption also
increases which further taxes the already limited battery life of a mobile
device. Therefore, even as wireless networks improve their ability to
deliver higher bandwidth, the power availability at the handset will still
limit the effective throughput of data to and from the device. A wireless
data solution must be able to overcome these network limitations and still
deliver a satisfactory user experience.

Here comes WAP!
The Wireless Application Protocol (WAP) is the de-facto world standard for
the presentation and delivery of wireless information and telephony
services on mobile phones and other wireless terminals. The WAP Forum has
published a global wireless protocol specification, based on existing
Internet standards such as XML and IP, for all wireless networks. The WAP
specification is developed and supported by the wireless telecommunication
community so that the entire industry and most importantly, its
subscribers, can benefit from a single, open specification. WAP is designed
to work with most wireless networks such as CDPD, CDMA, GSM, PDC, PHS,
TDMA, FLEX, ReFLEX, iDEN, TETRA, DECT, DataTAC, Mobitex. Actually
Phone.com, Ericsson, Nokia and many others began developing standards
independently of each other, but it was soon realized that it would make
more sense to focus development around a common standard. WAP forum was
thus born with a desire to establish a common format for Internet transfers
to mobile telephones, without having to customize the Internet pages for
the particular display on every different mobile telephone or personal
organizer.

The Wireless Application Protocol (WAP) addresses the issues mentioned
above by introducing the concept of the Internet as a wireless service
platform. By addressing the constraints of a wireless environment, and
adapt existing Internet technology to meet these constraints, the WAP Forum
has succeeded in developing a standard that scales across a wide range of
wireless devices and networks. The WAP specifications complement existing
wireless standards. For example, the WAP specification does not specify how
data should be transmitted over the air interface. Instead, the WAP
specification is intended to sit on top of existing bearer channel
standards so that any bearer standard can be used with the WAP protocols to
implement complete product solutions. It defines a protocol stack that can
operate on high latency, low bandwidth networks such as Short Message
Service (SMS), or GSM Unstructured Supplementary Service Data (USSD)
channel. In addition to being air interface independent, the WAP
specification is also independent of any particular device. Instead, it
specifies the bare minimum functionality a device must have, and has been
designed to accommodate any functionality above that minimum.

The WAP specification uses the best of existing standards, and has
developed new extensions where needed. For example, a WAP Gateway
communicates with other Internet nodes using the standard HTTP 1.1 protocol
and the wireless handsets use the standard URL addressing scheme to request
services. The WAP forum is also working with many other standards
organizations to develop or modify standards related to new technologies,
which need modifications for wireless environment. The WAP forum has
liaison relationships (or is in the process of having) with Cellular
Telecommunications Industry Association (CTIA), World Wide Web Consortium
(W3C), Telecommunications Industry Association (TIA) and Internet
Engineering Task Force (IETF). This ensures that when new standards emerge,
these standards remain compatible with the work of the WAP Forum. For
example, the WAP Forum will be working with the W3C and IETF to ensure
future convergence with HTML-NG (Next Generation) and HTTP-NG
specifications, and to provide input to these groups regarding the
requirements of future wireless network technologies.

The Wireless Application Protocol is a standard developed by the WAP
Forum, a group founded by Nokia, Ericsson, Phone.com (formerly Unwired
Planet), and Motorola. The WAP Forum has now expanded to include more than
200 members, including operators, infrastructure suppliers, software
developers and content providers.

chad alen.

آمار وبلاگ

  • کل بازدید :
  • بازدید امروز :
  • بازدید دیروز :
  • بازدید این ماه :
  • بازدید ماه قبل :
  • تعداد نویسندگان :
  • تعداد کل پست ها :
  • آخرین بازدید :
  • آخرین بروز رسانی :

free counters