Home Frameworks Frameworks
Questions:Ask|Latest

Related Tutorials


 
 

Share on Google+Share on Google+

Frameworks

Advertisement
In this section we are providing tutorials on various Java Frameworks.

Frameworks

In this section we are providing tutorials on various Java Frameworks. We have categorized these tutorials in various sections. You can easily navigate to these tutorials.

What is Frameworks?

Framework is set of reusable software program that forms the basis for an application. Frameworks helps the programmers to build the application quickly. Earlier it was very hard to develop complex web applications. Now its very easy to develop such application using different kinds of frameworks such as Struts, Struts 2, Hibernate,  JSF, Tapestry, JUnit, Log4j, Spring etc.

In Java technology there are so many frameworks that helps the programmers to build complex applications easily. You can choose these frameworks for building your applications.

Software Framework

Framework software in computer system is a layered structure that indicates what kind of program should be built and how they would interrelate to one another. In computer system, a framework is a conceptual structure that sometime includes actual programs, which specify programming interface or offer programming tools for using the frameworks.

Framework Tutorials:

A framework may be for a set of functions within a system, the layers of an operating system, the layers of an application subsystem that specify how to correlate at some level of network and so on. In general term, we can say that a framework is more comprehensive than a protocol and more prescriptive than a structure.

Advertisement

Like software libraries, frameworks are reusable abstractions of code within a well-defined API, but distinctive feature separate them from libraries or normal user applications:

Inversion of control – The framework completely controls the flow of the programs while in libraries, the caller or user controls the flow the programs not the libraries.

Default behavior - A framework has a default behavior. This default behavior must actually be some useful behavior and not a series of no-ops.

Extensibility - Through selective overriding or specialized user code, a framework can be extended to achieve specific function. 

Non-modifiable framework code - The framework code is rigid and modification is not allowed in it. It can be extended but not modified.

Advantage

The biggest advantage of the software framework is that it reduces the time and energy in developing any software. Frameworks provides a standard working system through which user can develop the desired module of application or complete application instead of developing lower level details. Using frameworks, the developers can devote more time in developing the software requirement, not in preparing the environment and tools of application development.

Disadvantage
For the novice user, it is tougher to use the framework quickly as it is big and complex abstract and user has to spend more time in assessing the concept, function and its uses in developing the program, which enhances the development but after learning how to use it efficiently, it becomes easier and quicker to develop any program, module of application.  

Another disadvantage is that a generic ‘one-size-fits-all’ does not work so efficiently for any specific software. There is need to extend framework with specific code to develop any specific software.

Examples

Software frameworks support and enhance the efficiency and productivity of the application development but it faces some problems in some specific domains like:

  • Artistic drawing, music composition, and mechanical CAD
  • Compilers for different programming languages and target machines
  • Financial modeling applications
  • Earth system modeling applications
  • Decision support systems
  • Media playback and authoring
  • Web applications
  • Middleware
Architecture

Framework architecture consists of frozen spots and hot spots (a virtual name), which are the basic components. The frozen spots define the overall architecture of a software system while hot spots represent those parts where the programmers add their own code to add the functionality specific to their own projects using framework.

In an object-oriented environment, a framework consists of abstract and concrete classes. Instantiation of such a framework consists of composing and subclassing the existing classes.

When developing a concrete software system with a software framework, developers utilize the hot spots according to the specific needs and requirements of the system that means the user-defined classes (for example, new subclasses), receive messages from the predefined framework classes. Developers usually handle this by implementing superclass abstract methods.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 22, 2006

Related Tutorials

Ask Questions?    Discuss: Frameworks   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
surya palleboina
May 31, 2011
removing empty columns from jasper report

Hi, How to remove the empty columns from jasper report, the following code is not working exporter.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, baos); exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); exporter.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND,Boolean.FALSE); exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, Boolean.TRUE); exporter.setParameter(JRXlsExporterParameter.IS_COLLAPSE_ROW_SPAN, Boolean.TRUE); exporter.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE); exporter.exportReport();
ongcaazis
June 14, 2011
learn

how to learn game applet
Jeneva
June 15, 2013
WWlbbUQTZMvZbwnnL

That's a smart answer to a tirkcy question
Rayonna
June 15, 2013
MfNnvajDGXS

I'm not quite sure how to say this; you made it etxrmeely easy for me!
Roseanna
June 12, 2013
DmBFCSkULDojnB

Full of sailent points. Don't stop believing or writing!
Azadeh
June 13, 2013
pcDmZKTkdNdSQgGnN

Apps are what is needed to make your smrnhptoae smart and unique.Im fond of app creating and find it really helpful to use site like Snappii where i can build apps in minutes.
madhukar gadekar
September 23, 2011
J2ME online video training

I want J2ME online training. please send your syllabus & fee structure.
jeevan mc
September 29, 2011
java tutorial

I got to know about this site from one of my collegue when i asked him i want to learn JAVA, and i found it very detailed explination on the subject, thanks to the site, hope i could grab all the details available here Regards Jeevan
Ashok
October 4, 2011
Login Application using Spring

Hi.. This is Ashok. I am learning spring. Can you send the code of Login Application using Spring and send the other links of how to learn the Springs,Hibernet with easily.. Plz send it uregnt.. Thank You..
solanki dharmendrakumar
February 11, 2013
software of framework?

programming in framework?
Lalith
January 28, 2013
good

plz give reply fast as possible as u can
Niteen Kitture
November 19, 2011
connection code for hibernate and spring

i need code for connection of hibernate and connection
kamal ahirwar
December 3, 2011
text

very good exeplan the framework
Mateen
March 5, 2013
noBcZLDUOAOaw

Well done to think of smoetinhg like that
Johannah
March 5, 2013
RXjkoUFFttDYadc

I read your posting and was jleauos
Jayden
March 5, 2013
klgAuWxUWowTDQHLzx

Such a deep awnser! GD&RVVF
Mohamed Asik
December 20, 2011
Good Explanation

I am really getting overall ideas about Java Frameworks through this page. Thanks!
Jaydee
March 6, 2013
GlCNAZYlKhfOBN

Wham bam thank you, ma'am, my questions are anwsered!
murali
December 23, 2011
java

hi,this is murali.can anyone explain what is a hibernate,why we should go for hibernates as we have struts framework,it's archiecture and flow in detailed.
Amin Mansuri
January 24, 2012
project training of MCA final sem

due to problem in my previous company, i like to join with you.i required project training till 24-3-2012.... reply early as possible ............. Amin Mansuri .........
keshav
January 25, 2012
not included thesis???

u must give a look to thesis and genesis framework........ kindly include their review on your site!!!!!!!!!!
Barbie
January 19, 2013
bWuIxbjCkrWMngpUv

This was so helpful and easy! Do you have any artilecs on rehab?
Ayoub
February 9, 2012
Thanks

Hello thank you for this great job
Ashok patidar
February 17, 2012
name of ashok in style

i m intrest in name
Chekula
February 23, 2012
PXKaGLNwRz

we sulhod be using these processes. The real challenge will be how do we move to this new world as quickly, safely and painlessly as possible? And once we get there, how do stay there and continue to support all the other standards and regulations we previously did?
sumit
March 19, 2012
JLC java learning center banglore

java learning center(JLC) bangalore is maha bakwag institute. if you interested to taking admissions here then its a big big mistake in your life. the adv.java teacher mr.dande(gande) very laggy teacher. you go to class and atrandam massage come today is no classes at list in one month 7-8 time you come back without taking class.bakwas bakwash maha bakwash..........
manoj kanojia
April 14, 2012
java intersectiing subject

myself manoj kanojia mujhe java ati hai ,,!!! par mujha java me pakad banani hai
madhavi
May 14, 2012
andriod- framework

some codes for implementing the frameworks in java should be included too..
jincha
May 17, 2012
STUPIDITY

got bored in I.T life
Kamal
May 25, 2012
Is 'Configuration' an interface in Hibernate?

I have read in 'Hibernate in Action' book that 'Configuration' is an interface. But then below that I saw line of code like : Configuration cfg = new Configuration(); SessionFactory sessionFactory = cfg.configure().buildSessionFactory(); Can someone clear my confusion: If Configuration is an interface then how we can instantiate it like above code? Or there are two things in Hibernate one is Configuration class and one is Configuration Interface?
kumar
June 9, 2012
frameworks

excellent
Arun Kumar G
August 14, 2012
easy to understand

Good work.. its easy to understand in simple way...
Ashok.P
August 27, 2012
most used frame work

we have these many framework but which among the list is most used now a days
yellaiah
December 20, 2012
plz send me spring matrial

hi.................
musir
October 16, 2012
code for a search in advanced java

please forward the code for a search ,update , delete in advanced java
arun
December 29, 2012
.net

questions
Vivek
November 6, 2012
tomcat server

Thank you...
Ritwika Roy
November 20, 2012
wicket framework

href how to href in wicket wicket tutorial
ritwika
November 20, 2012
wicket framework java

wicket tutorial table and href
christopher palmer
November 27, 2012
Camel-quartz

I am getting a runtime error using camel-quartz 2.10.2, see error message below, can anybody tell me what version of quartz I should be using and any runtime dependency jars I should also be using. I am using quartz 2.1.6 INFO: Quartz scheduler version: 2.1.6 Exception in thread "main" java.lang.NoSuchMethodError: org.quartz.Scheduler.getTrigger(Ljava/lang/String;Ljava/lang/String;)Lorg/quartz/Trigger;
Rosie
March 6, 2013
CcmNpHDZRNJVlX

I really nedeed to find this info, thank God!
Priscila
June 13, 2013
TnNzXKWuTVoos

The I.E fix is successful, it laeves firefox being able to render multiple instances of the effect.. on different elements such as menus and images: This is perfect. However, in I.E it only allows one instance ?
Yelhsa
June 15, 2013
MNffWTCIkHktTNiZ

Great stuff, you hepled me out so much!
Neveah
June 15, 2013
JqbAIECeYE

The expertise shines through. Thanks for taking the time to awsenr.
Delores
June 15, 2013
JlJozFVqIeg

It's always a relief when someone with obvious expertise anwesrs. Thanks!
Dernell
June 15, 2013
kGKQIKCLIh

Wodenfurl explanation of facts available here.
Vinnie
June 15, 2013
YKhcvDikocflpGqG

Yeah that's what I'm tlaikng about baby--nice work!
Kevin Panjari
June 29, 2013
hybernate

I new to hibernate platform. so, I want to know about hibernate in easiest way... please, need some answers....
manish
July 15, 2013
java

import java.sql.*; public class demojdbc{ public static void main(String[]args)throws Exception { int count=0; double payroll=0.0; ResultSet rslset1=null; String names; double salaries; Connection conn; String db="jdbc:odbc:db1"; String username=""; String password=""; conn=DriverManager.getConnection(db, username, password); System.out.println("***Connected to the database***"); Statement smnt=smnt.executeQuery("select e.name, e.salary + " " + from Emp e + " " + where e.Dept='toys' "); System.out.println(); System.out.println("Name Salary"); System.out.println("---- ------"); while(rslset1.next()); salaries= rslset1.getInt("salary"); System.out.println(names + " " + salaries); count=count+1; payroll=payroll + salaries; } System.out.println(); System.out.println(); System.out.println("number of employes in toys Department" + count); System.out.println("Total payroll for toys Department" + payroll); smnt.close(); preparedStatement stmt2=conn.preparedStatement ("update emp" + "set dept=?, salary=?" + " "+ "where Name=?"); stmt2.setString(1,"shoes"); stmt2.setDouble(2, 65000.0); stmt2.setString(3,"Hari"); stmt2.executeUpdate(); stmt2.setString(1,"credit"); stmt2.setDouble(2, "75000.0"); stmt2.setString(3,"Leu"); stmt2.executeUpdate(); stmt2.close(); conn.commit(); conn.close(); } I m nt able to run this program when i m running.it shows plenty of errors could someone help me to run the program.
Ebrahim Diangca
July 24, 2013
Interactive CAI Learning Games

Give me some Idea About my project poh. My Project is about Interactive CAI Learning Games for Preschool. Somebody can help me. please. Tnx.
naresh b
September 12, 2013
sample selenium RC/Webdriver programs

i am looking for some sample selenium programs,please provides us.
sumayya Turab
September 20, 2013
programming

thank u i understood the concept of frame works
nagaraj
July 7, 2014
hiiiiiiii

what is frame work?can you explain in simple way?
arvind
April 2, 2014
framworks

which framework is best for web app development
DMCA.com