In order to remove any kind of complexity at both the architectural and API level, Seam has been designed and developed right from the scratch. Therefore this ensures that Jboss Seam Framework developers do not find any kind of a problem when working on this particular platform. It allows Java developers to assimilate sophisticated web applications through the usage of simple java objects, a little of XML and componentized UI widgets. The ease of use and simplicity of this platform will allow easy integration with the JBoss Enterprise Service Bus and Java Business Integration. JBoss is also one of the key aspects even in the development of Enterprise Application Platform. The immense potential of JBoss can be harnessed to create unique and scalable Java applications.
There are undoubtedly a significant number of reasons on why Jboss Seam is the preferred platform and some of them are:
- JBoss Seam offers a unique concurrency model, which was developed keeping in mind AJAX. Unlike AJAX, this state-managed model allows concurrent, asynchronous and fine-grained requests.
- EJB3.0 is an ideal component to be used in transactional business components but the earlier Java and application
frameworks would not support EJB. The same is not the case with SEAM, which is designed to allow developers to use EJB 3.0 everywhere.
- JSF offers extensive component libraries and as well as other addons but just using JSF can be burdensome for XML and result in lack of important features. JBoss Seam easily swaps difficult XML configurations with annotations and thereby reduces code. Seam easily integrates JTA, JPA and EJB 3.0 and therefore it makes it necessary for JSF users.
The article is intended to provide information on E learning System made with Java platform. It explains various functionality added to this application with the functionality provided by Java.
E-Learning application on Java includes the environment in which the learner interacts with content, knowledge, skill. E-Learning application enables the management and facilitation of a range of learning and teaching activities and services.
Some companies use Java e-learning application when training their employees or spreading out a short lecture. Universities use Java e-learning application in specific courses for programs .E-Learning system also to increases the learning capacity of students, employee etc.
Our Java E-Learning Solution provides flexible and automated way of learning. This solution can be helpful to institutions, organizations, universities, colleges etc. This Solution is multilingual and provides total flexibility to customize and manage whole E-Learning solution in a user friendly way with easy user interfaces. Main feature of the application is performance, lightweight and developed using advance Java programming technologies and tools.
E-Learning administrator has a total control over the application and users of the application. Administrator can define different roles for users and depend on those privileges user can access those many functionalities of system. E-Learning solution provide administrator to define course area and define course and can relate course to particular course area. Define course topics and can relate course topics with particular course. Administrator can define questions related to course topics and define test based on course.
Administrator can also set maximum number of attempts user can give tests and it can also set Level for tests. Administrator can relate course with user so that tests available inside course will automatically accessible to users. Administrator can analyze system using reporting tools available with this e learning system.
Administrator can view how many tests held from which course and of which course area using course report and how many users given tests in which course using course reports and user related records using user report. User can attend test and can view result as well as view history of tests given by user using report tools. User can also download documents related to course.
This system is developed by latest j2ee technologies like spring, Hibernate and Most stable application server like web logic and Oracle Database. We can also customize this system for other application and database.
Author: This article was exclusively shared by Aegis Software who has been providing Java Development Services for systems like Java e learning System. Visit us to explore and learn more of our solutions.
As Restlet applications have multiple important purposes, it is essential to understand how they are structured and then used at runtime by Restlet projects. In Figure 1, we illustrate their overall design into three concentric layers, from the most generic and reusable on the edge to the most specific in the center.
An application can handle both inbound server calls and outbound client calls, which are depicted using arrows.
Inbound and Outbound Calls in Restlet Applications
An inbound call first goes though a service filtering layer, which is common to all resources contained in the application. This layer can handle things such as automatic decoding of compressed representations or support for partial representations. Then, the call goes through a user routing layer, where you will be able to do your own filtering, for example, for authentication purpose and to route the request to its target resource, typically based on its URI. Finally, the call can reach the resource handling layer, where a target resource will handle the request and reply with a response that will return to the original client, following the same path. This request processing flow that we summarized is followed by a single Java thread in charge of the given call.
In addition, client calls can be initiated by applications, typically, while handling server calls inside server resources, by creating client resources. A client resource sends a request through the upper layers, before it reaches the target resource (typically on a remote host), and finally comes back with a response. The user routing layer will have a chance to filter or dispatch the request, for example, to handle automatic authentication, while the upper service filtering layer will be able to provide services such as automatic decompression of representations received in responses.
The Restlet Routing System
The user routing layer can be pretty limited, providing just a simple Restlet subclass that traces incoming calls. How can you build a filter that blocks some IP addresses or route calls to target server resource based on their URI?
This post provide information on the security enhancement added by the Java on version upgrades. Java developers can get better idea on Java development with keeping application secure at the same time.
Java modes of use
- Applets: Auto-run when view web page
- Applications: Traditional program
- Beans: Component (like OLE object)
- Servlets: Server-side applications
- Aglets: Intelligent Agents
- Doclets: Configurable doc generator
- Embedded Systems
- Smart Cards (“JavaCard”)
Security Related Capabilities of Java
JDK 1.0 (Fall 1995)
Policy: “Sandbox” for applets; others unlimited
Mechanisms: SecurityManager, Bytecode verifier, Classloader
JDK 1.1 (Spring 1997)
Policy: can also grant total trust to signed applets
Mechanisms: Java Archive (JAR), crypto-related APIs
Inflexible: Too little or too much privilege
Netscape & Microsoft Extensions
Enabled more flexible approaches
Incompatible with each other and with Sun
J2SE (Java 2 Platform Standard Edition) (Fall 1998)
Includes SDK 1.2 and runtime
Policy: can also grant fine-grained privileges to specific applets/classes based on source and/or signatures
Mechanisms: AccessController, ProtectionDomain, CodeSource, Permission, GuardedObject, …
“Java Plug-in” supports both Microsoft & Netscape
Java 1.0 Security Policy
Sandbox Policy (for applets)
Cannot access local filesystem or devices
Network connections only to applet load source
Cannot invoke any local program or library
“Untrusted” indicator on top-level windows
Cannot manipulate basic classes or another ThreadGroup
Appletviewer CL can be initialized to vary these
Applications unlimited in 1.0; can code a policy
Class defines check methods called by system
E.G. “checkRead(String filename)”
Method throws exception if invalid
To create a security policy from scratch:
Create a subclass (code) & instantiate
Install using System.setSecurityManager; this cannot be revoked or replaced
This is used to create the Sandbox
If no SecurityManager installed, all privileges granted
What is JDBC?
JDBC stands for Java Database Connectivity which is a kind of API that allows Java platform to access DBMS. This JDBC API consists of a set of interfaces and classes written in Java.
With this set of interfaces and classes, Java developers can establish connection with multiple databases and communicate directly to the database for performing various operations on them.
JDBC drivers provided by Oracle
Oracle provides 4 different types of JDBC drivers to use them under different installation and deployment scenarios. The 11.2.0 drivers can access Oracle 9.0.1 and higher versions. While all oracle JDBC drivers are almost similar, some features apply only to JDBC thin driver and some applies only to JDBC OCI drivers.
JDBC OCI (Oracle Call Interface):
With the help of Java Native Methods, this JDBC Type 2 driver calls entrypoints in an underlying C Library. This C library is called OCI which interact with an Oracle database. The JDBC OCI driver requires an Oracle client installation of the same version as the driver.
The use of native methods makes the JDBC OCI driver platform specific. Oracle supports Solaris, Windows, and many other platforms. This means that the Oracle JDBC OCI driver is not appropriate for Java applets, because it depends on a C library.
Starting from 10.1.0, the JDBC OCI driver is available for install with the OCI Instant Client feature, which does not require a complete Oracle client-installation. Please refer to Oracle Call Interface for more information.
JDBC Thin client-side driver
This is a JDBC Type 4 driver that uses Java to connect directly to Oracle. It implements Oracle’s SQL*Net Net8 and TTC adapters using its own TCP/IP based Java socket implementation. The JDBC Thin driver does not require Oracle client software to be installed, but does require the server to be configured with a TCP/IP listener.
Because it is written entirely in Java, this driver is platform-independent. The JDBC Thin driver can be downloaded into any browser as part of a Java application. (Note that if running in a client browser, that browser must allow the applet to open a Java socket connection back to the server.)
JDBC Thin server-side driver
This is another JDBC Type 4 driver that uses Java to connect directly to Oracle. This driver is used internally within the Oracle database. This driver offers the same functionality as the client-side JDBC Thin driver (above), but runs inside an Oracle database and is used to access remote databases.
Because it is written entirely in Java, this driver is platform-independent. There is no difference in your code between using the Thin driver from a client application or from inside a server. (Java Development)
JDBC Server-Side Internal driver
This is another JDBC Type 2 driver that uses Java native methods to call entrypoints in an underlying C library. That C library is part of the Oracle server process and communicates directly with the internal SQL engine inside calls and thus avoiding any network traffic. This allows your Java code running in the server to access the underlying database in the fastest possible manner. It can only be used to access the same database.
The use of native methods makes the JDBC Server-Side Internal driver platform specific. This server-side internal driver is fully consistent with the client-side drivers and supports the same features and extensions.
Information Source: JDBC Drivers Provided by ORACLE
Java developers can create two types of programs applets and application. A Java Application Development is a program that runs on your computer under the operating system of that computer. This application is just like C or C++.
Always remember that when you create application java is not much different from any other computer language. But the main advantage of Java Application is that you can run these programs anywhere. And Java Developers can develop an application from low end to very high end uses. But the ability to create applets makes Java important. And applet is an application designed to be transmitted over the internet and executed by a java compatible web browser. An applet is a tiny Java program dynamically downloaded across the network just like a video-clip, image and sound file.
But the most important difference is that an applet is an intelligent program not just media file or animation. In other words you can say that applet is a program that can react to user input and dynamically change- not just run the same animation or sound over and over. Always remember that Java Developers can implement many ideas with this platform.
Java is one of the most demanding and flexible software development platforms. With the help of Java you can not only develop simple application development but you can also develop a software solution for animation, simulation, mobile phones and gaming.
Java application development developed Amazon kindle which is a device used for reading purpose. With the help of this device you can read magazines, books, news paper and blogs. But you can read the books and blogs in the direct sunlight also.
On Java platform BlueJ was also developed by the University of Kent to help the students who want to learn Java. You can also find java micro edition technology which helps to maximize your entertainment purpose.
Java brings platform where you can enjoy lot of games especially for those who love games. Java developers can also work on EA mobile to develop gaming applications. Always remember that if you have a mobile phone which are Java powdered then you can locate any location and can also access Google map to find local business.
Java is an Object oriented programming language. It was developed by sun Microsystems and released in year 1995. It is a high level programming language. Java is being used for both desktop and web application.
Java is very popular for web development for its unwilling security. Java has a unique run time environment and has its own compiler and interpreter. Java is very easy to use and therefore very easy to write.
Here are some of the advantages of Java application development:
You can write a Java program on one platform and run on another platform, which is its cross platform feature.
You can run Java programs on any web browser.
You can develop an application from very low end to very high end uses.
Today Java application development has emerged as a leading industry due to its simple development procedure and high security. Companies are ready to use Java due to its low cost and high time saving.
Now demand of java in market is so high that the java developers are also enhancing their skills for writing secure Java application. Java is also fully in the mobile application. We can fully be dependent on Java from a desktop application to the high end mobile application.
Day by day as Java is becoming more popular and its demand is going to touch the sky. This is good for Java that the people like it that much and they are getting benefits from it. Apart from this there are group of some who always try to break the rules and want to make any nonsense in the application. This is the reason why many of the Java developers are trying to improve their skills and writing secure Java application. To fulfill the same recently a group of private sector has been formed to conduct a standardized exam to test the skills of Java developers against the Java Security standards.
To write a highly secure Java application there are following thing which the java developers must be aware of:
- User authentication rules.
- Access control
- Session management and encryption techniques.
- Data handling techniques.
A java application is said to be the perfect one if it has been handled perfectly in respect of logics and security as well. If an application is well secured it is the real application. Today in this world of vulnerability it is the prior necessity of the Java developers to take very good care of the security in the application. To develop an application secure there are little things which could be remembered which are:
- Proper Validation
- Standard security test
- Well built logical software design
- Well planned application development