Tampilkan postingan dengan label you. Tampilkan semua postingan
Tampilkan postingan dengan label you. Tampilkan semua postingan

What You Should Know About Forefront Identity Manager

Rabu, 25 Juni 2014

By Rhea Solomon


There is no organization that is able to stand to its feet without dedicated forefront identity manager . This is because there is nobody to oversee the work of others and motivate them to work harder. Talk of goals and objectives too whereby it will be like working towards nowhere. Hence there is need for administration of any organization for all work to run smoothly and efficiently.

In its broader view it means the organizing and coordinating of activities of the business so that a business organization is able to meet its objectives and goals. For this to happen there should be factors of production available and the principal to administer this.

But for the managers to do these functions as required, they are supposed to have skills, knowledge and experience on the same. Some of skills include conceptual skills, communication skills, human relations and technical skills. Technical skills is the professionalism and expertise they have that can be used to aid performance of various duties. Where the employees have no know9how, the manager can come in to assist them.

Human relations skills however are the most important. They go hand in hand with the staffing function. The skills are required so that the manager gets to know how to handle the employees in the organization; treating them fairly and motivating them so that they can be satisfied with the job environment for them to be more productive. Harsh managers are likely to build a poor working relationship with the manager and they are likely to produce poor results.

Controlling is another important function. It involves monitoring of activities and taking necessary measures to deal with any deviations if any. The manager does this by visiting all departments to see if there is any working on less capacity or identify any hitch in the entire production activities. This will avoid waste as some employees may not be keen in the production process. The manager can also use their skills to foresee any sides that are likely to reduce production to affect the business negatively and then take a necessary course of action.

Controlling is also another function that is supposed to be done by the managers. It involves monitoring the activities and operations in different departments to identify any deviations from what is planned and necessary measures taken to make it right. The manager identifies the department that is not working and decides on what to do. However problematic areas can be identified earlier enough and right measures taken.

At times the managers will need to delegate their power and authority to their juniors for a variety of reasons. They may want to relieve themselves from some work they do in the organization. They may also want to give the juniors a chance to prove themselves so that they can feel part and parcel of the firm.

Given the many advantages of forefront identity manager in management, it is a tool that should be used in every organization. It enables the business to compete in the market appropriately. Also it makes living standards grow and the economy due to more productivity.




About the Author:



Read More..

What to Know Before You Upgrade From XP to Windows 7

Selasa, 10 Juni 2014

What to Know Before You Move From XP to Windows 7
With Windows 7 coming out next month, there are, no doubt, a lot of Windows XP users who opted to skip over Windows Vista and are anxiously awaiting the opportunity to upgrade. Unfortunately, the switch may not be such an easy one. There is a lot of planning to do and a lot of learning to be done, but with the Windows 7s October 22 release date just around the corner, its never too early to start.

One of the first things you will want to do is check your hardware. If your computer was made in the last few years, you more-than-likely wont have a problem. If youre not sure about your current hardware situation, Microsoft offers a Windows 7 Upgrade advisor at their website. The advisor will perform a scan of your system and display a report that lets you know if you meet the requirements. Should there be a problem, the report lets you know what your options are for the upgrade.

Another thing you must understand is that you will have to perform a custom installation. Upgrading from Windows XP to Windows 7 will not allow you to keep all of your settings and applications. A custom installation gives you the option to install Windows on a specific drive or partition, or completely replace your old operating system. When you do the complete replacement, a folder called "Windows.old" will show up on your hard disk and while it will contain your Windows, Documents, Settings, and Program Files, your applications will no longer be in working order. This means backing up and transferring important data, reinstalling applications, and reconfiguring your settings.

Its always helpful to have an inventory of all of your applications. Youll also want to make sure they are compatible with Windows 7. Once you have your list in place, you can gather up the information for what youll need once youve got Windows 7 installed including installation CDs and various websites from which youve downloaded applications.

One thing you may want to consider is a multiboot configuration. This means having both Windows XP and Windows 7 at your fingertips, which can help make the switch a little smoother. All you have to do is reboot into Windows XP at any given time to see exactly how something is installed or configured. To do this, you must install both XP and 7 on the same hard disk but on separate partitions. To make room for Windows 7, you will have to repartition your hard disk and there is software you can purchase to help you do this. Once youre finished, just set Windows 7 as your primary operating system and remove Windows XP all together.

As with any major change you make to your computer, youll want to back up all of your data. Youre more than likely going to use either a third-party back-up program or Windows XPs native Backup Utility. If youre using a third party program, make sure you check with your manufacturer to see if it will be compatible with Windows 7. If youre not sure or dont trust either backup system, you can, of course, make copies of all of your data and store it on CDs and external hard drives.

Now that you know you will need to transfer your data, how will you do it? Youll probably want to use a program that will scan your XP system to find all of your data and settings and that can transfer the information to Windows 7. Luckily, Windows 7 has an Easy Transfer feature that can do this for you, but. The transfer utility should come embedded within Windows 7, but also as a separate DVD.

Something else you can do to be prepared is become familiar with Window 7s new user interface (UI) as it is very different from that of Windows XP. To avoice what many call "UI Shock," you can visit Microsofts Windows 7 webpage. That will give you an idea of what to expect once youve installed Windows 7. The webpage features a Windows 7 Features section and a Windows 7 Help & How-to section. Microsofts website also features a Windows Training Portal which includes Windows 7 "Learning Snacks" (interactive presentations) and Microsoft Press Sample Chapters from upcoming Windows 7 books.

Finally, this seems simple enough but ask questions and share information. So many people will be switching from XP to Windows 7; you most certainly wont be alone. Visit technical forums and websites and connect with others who are in your shoes.

Read More..

What Benefits Can You Get From Project Management Software Tools

Selasa, 03 Juni 2014

By Marissa Velazquez


In project management, the right systems and tools are needed in order to manage and control the resources. Projects are run on limited resources and they have timeframes to complete the work. If the manager does not achieve the desired results, it could lead to conflicts of interest with the clients. Managers can use project management software tools to organize resources and improve efficiency within the team.

With the wrong tool, you risk failing to achieve results. The projects may be delayed or you may run out of funds. A projects scheduling tool can assist you organize the different processes involved in planning and executing projects. The program allows you to delegate tasks to suitable employees, and this can enhance productivity and efficiency in implementing the plan.

Different assignments are delegated to every worker and those roles are reflected in the system. Employee can access the information they need from the system. This helps them know who they are supposed to contact or ask questions whenever there are issues of concern to be tackled. The program helps businesses to collaborate and share with stakeholders, clients, vendors, and employees.

While this tool will help promote teamwork, in addition, it assists in figuring out the weak areas. One of the major constraints of projects is finances. These tasks are implemented under a certain amount of funds that should be managed properly. The cost of projects can be accounted properly using the scheduling too.

Reporting is another important aspect when managing projects. The documents created are shared among different parties. The project scheduling tool offers flexible report formats and easy accessibility of data. Individuals can edit and update the reports, and this creates a system that promotes communication and transparency.

With the right tool, it allows easy interchangeability. A scheduling tool allows for easy inputting of information such as project phases and deadlines. The program then organizes the tasks and delivers notifications about the progress. This helps the implementation team to know the milestones it has made in accomplishing results.

The web-based tool may not require the license fees. Such fees could cost up to hundreds of dollars depending on features and scope of the program. When choosing a program, you need to examine the timeline of the tasks, and how much it will cost you at the end. This way, you can make a good judgement on the type of program you can acquire whether web based or desktop installed packages.

With the right project management software tools, you are able to run your projects smoothly. The collaboration process is improved. Your team is able to communicate effectively. Clients can access the systems and determine the progress of tasks, and if there are edits or review on the progress, they are done in time. The real time access to data and information is key in determining the success of a project. All the details are enters in the systems and the parties involved can easily access them.




About the Author:



Read More..

5 handy eclipse tips you must know

Selasa, 18 Februari 2014



It is imperative to be able to quickly navigate through your code as in commercial projects there will be thousands of artifacts. You will find more debugging tips using eclipse and other tools. The following tips are must know, and if you dont know any of this already, apply these tips and see how productive you become. Especially the control clicking shown here will help you fly through your code.


Tip #1 : Navigating between web resource files and Java classes

<div>
<s:link rendered="#{!myAccounts.viewAccounts}" reRender="myAccounts" styleClass="link-excel" view="/view/accounts/myaccounts.excel.xhtml" > Export </s:link>
......
</div>

you will often want to navigate from one xhtml or JSP page to another. In the above example to navigate to myaccounts.excel.xhtml page from your current page, highlight the text "myaccounts.excel.xhtml" in the above code and then press "ctrl+shift+r" short-cut to select the file and go to that file directly. In the above code, "myAccounts" within #{!myAccounts.viewAccounts} is an annotation attribute in the Java based backing bean. To get quickly to the backing Java bean, you will need to highlight the text "myAccounts" in the above code and the press "ctr+h" short-cut to bring up the search dialog to search for that text. The Java snippet will look like this
    
@In(value = "myAccounts")
private MyAccounts myAccountsController;

Once you have found the Java source file that has the text "myAccounts" annotated attribute, you can go directly to the method with the context helper short cut "ctrl+o" and then typing the first few charaters of the method "viewAccounts" to go to that method. This tip can be applied for other Web frameworks as well if you want to navigate between Web resources and Java source files.

The "highlighting + ctrl+h" is also handy for navigating to relevant Java or web resource file from a spring config file or any other configuration file like web.xml.

Tip #2: If you are navigating between Java source files then the code snippet below
   
public void init(Long accountId) {
logger.debug("Initialising accounts .... ");
this.selectedAccount = this.serviceFacade.getAccount(accountId, user);
this.authoriser.checkPermission(new AccountsPermission(this.user, this.selectedAccount));
...
}

may require you to navigate to "AccountsPermission" class. Highlight the "AccountsPermission" and press "F3" function key to go to that class. If you want to see the type hirarchy (i.e. its interfaces, super class, sub class, etc) press "F4". You can also highlight a varible like "selectedAccount" or a method like "checkPermission" and then press "F3" to go to that variable or method declaration.


What is even more efficient is "ctrl + clicking". All you have to do is press the ctrl key and then click on a variable or class to name to navigate to it. If a particular method has both interface and implementation, you will get a contextual option list to choose either the interface or the implementation with this control clicking.

So, both "ctrl + clicking" and "highlight  + (ctrl+shift+r or ctrl+h) are very handy commands for navigating around.


Tip 3#: If eclipse is slow in opening your files or starting up, etc it is likely that some plugins might be making it slow.

Recently I had this issue, and after removing a number of plugins, for example Atlasian Maven/Bamboo build plugins and some JBoss plugins for JSF and Seam UI development, my eclipse is much faster and responsive. 


Tip #4: If you are working on a large project with lots of modules or projects

 it is worth creating "working sets" to group relevant projects together. This will also enable you to open and close projects or modules based on "working sets". You can also search for resources based on a "working set". Google for "How to create a working set in eclipse".


Tip #5:Code assist to type less

No body wants to type a lot of code. While working on your code, you can use "ctrl + space" to auto complete some variable names, methods, class names, etc.



The above short-cut keys will help you navigate quickly through your code. Feel free to comment with other useful tips. There are more tips on

Read More..

How will you go about explaining the following Java concepts to a beginner

Minggu, 09 Februari 2014



Q. How will you go about explaining the following Java concepts to a beginner who is starting to learn Java
A.

1. Process Vs Threads
2. Heap versus Stack
3. Local variables versus instance variables
4. How do threads communicate with each other?
5. Are Java methods reentrant?
6. Does Java support recursive method calls?
7. Object creation and Garbage collection
8. Can you garbage collect objects that have a circular reference?
9. Producer-consumer design pattern.


The best way to do this is to write some basic code and then have a pictorial representation as to how the objects are created, how do threads work and communicate with each other, and what is stored in a heap and what is stored in a stack, etc.

Here is an example of a producer thread (thread-0) producing by incrementing the counter from 0, and the consumer thread (i.e. thread-1) consumes by decrementng the counter. These two user created threads are spawned by the main thread, which is created by the JVM and is alwyas there by default. The ConsumerProducer is the shared object with synchronized methods that commuincate with each other via wait( ) and notifyAll methods. Only one of the two synchronized methods can be executed at a time. The wait( ) call in consume( ) relinquishes the lock to the produce( ) method, and once the produce method has incremented the count, it notifies all threads and one of the waiting threads will resume. In this example, there is only one waiting consumer (i.e. Thread-1) thread. So, both threads will be communicating with each other via the wait( ) and notifyAll( ) calls in the shared object ConsumerProducer. This is an example of the producer-consumer design pattern.



Firstly, look at the code and then the diagram. The diagram is simplified to get an understanding and should not be construed as exactly what happens in the JVM.


public class ConsumerProducer {

private int count;

public synchronized void consume() {
while (count == 0) { // keep waiting if nothing is produced to consume
try {
wait(); // give up lock and wait
} catch (InterruptedException e) {
// keep trying
}
}

count--; // consume
System.out.println(Thread.currentThread().getName() + " after consuming " + count);
}

public synchronized void produce() {
count++; //produce
System.out.println(Thread.currentThread().getName() + " after producing " + count);
notifyAll(); // notify waiting threads to resume
}

}


The main thread spawns a consumer and a producer thread. The ConsumerProducer is shared between two threads. The boolean flag is used to signal if it is a consumer thread or a producer thread to invoke the relevant methods.


public class ConsumerProducerTest implements Runnable {

boolean isConsumer;
ConsumerProducer cp;

public ConsumerProducerTest(boolean isConsumer, ConsumerProducer cp) {
this.isConsumer = isConsumer;
this.cp = cp;
}

public static void main(String[] args) {
ConsumerProducer cp = new ConsumerProducer(); //shared by both threads to communicate

Thread producer = new Thread(new ConsumerProducerTest(false, cp));
Thread consumer = new Thread(new ConsumerProducerTest(true, cp));

producer.start();
consumer.start();

}

@Override
public void run() {
for (int i = 1; i <= 10; i++) {
if (!isConsumer) {
cp.produce();
} else {
cp.consume();
}
}

//try with introducing a sleep for 100ms.

}
}

The output will vary, but the last thing consumed will be 0
Thread-0 after producing 1
Thread-0 after producing 2
Thread-0 after producing 3
Thread-0 after producing 4
Thread-0 after producing 5
Thread-0 after producing 6
Thread-0 after producing 7
Thread-0 after producing 8
Thread-0 after producing 9
Thread-0 after producing 10
Thread-1 after consuming 9
Thread-1 after consuming 8
Thread-1 after consuming 7
Thread-1 after consuming 6
Thread-1 after consuming 5
Thread-1 after consuming 4
Thread-1 after consuming 3
Thread-1 after consuming 2
Thread-1 after consuming 1
Thread-1 after consuming 0




The above code can be diagramatically represented as shown below.




  • The JVM is a process. As you could see in the diagram above that each thread has its own stack, but share the same heap space. One heap space per process.

  • The local variables like producer, cp, and consumer are stored in the stack along with the method calls like main( ), run( ), etc.

  • The objects are created in the heap. For example, 2 instances of ConsumerProducerTest and a single instance of ConsumerProducer. Unless the methods of these instances are properly managed, multiple threads can concurrently access these intsnaces to cause thread-safety issues.

  • There are scenarios where the threads want to commuincate with each other. For example, a worker thread produces something and a consumer thread consumes what the producer thread consumed. This can be achieved through thread coordination with the wait and notify( ) / notifyAll( ) methods. In the above example, since both the produce( ) and consume( ) methods of the object ConsumerProducer are synchronized, only one thread can execute either one of the methods. If the count == 0, the consumer thread relinquishes the lock by invoking the wait( ) method and waits for it to be notified again to resume. The producer thread will increment the counter and then will notify all the waiting threads via the notifyAll( ) method. One of the waiting threads will then be able to resume from its waiting state.

  • The local variable isConsumer is used to differentiate between a consumer thread and a producer thread.

  • The count is an instance variable shared by both the consumer and producer thread in a thread-safe manner.



Here are the points that answers the above questions.

  • Each time an object is created in Java it goes into the area of memory known as heap.
  • The primitive variables like int, double, etc are allocated in the stack if they are local variables and in the heap if they are instance variables (i.e. fields of a class).
  • Java is a stack based language and local variables are pushed into stack when a method is invoked and stack pointer is decremented when a method call is completed.
  • In a multi-threaded application, each thread will have its own stack but will share the same heap. This is why care should be taken in your code to avoid any concurrent access issues in the heap space.
  • The stack is thread-safe because each thread will have its own stack with say 1MB RAM allocated for each thread but the heap is not thread-safe unless guarded with synchronization through your code. The stack space can be increased with the –Xss option.
  • All Java methods are automatically re-entrant. It means that several threads can be executing the same method at once, each with its own copy of the local variables.
  • A Java method may call itself without needing any special declarations. This is known as a recursive method call. Given enough stack space, recursive method calls are perfectly valid in Java though it is tough to debug. Recursive methods are useful in removing iterations from many sorts of algorithms. All recursive functions are re-entrant but not all re-entrant functions are recursive.
  • Idempotent methods are methods, which are written in such a way that repeated calls to the same method with the same arguments yield same results.
  • Each time an object is created in Java, it goes into the area of memory known as heap. The Java heap is called the garbage collectable heap. The garbage collection cannot be forced. The garbage collector runs in low memory situations. When it runs, it releases the memory allocated by an unreachable object. The garbage collector runs on a low priority daemon (i.e. background thread). You can nicely ask the garbage collector to collect garbage by calling System.gc( ) but you can’t force it.
  • An object’s life has no meaning unless something has reference to it. If you can’t reach it then you can’t ask it to do anything. Then the object becomes unreachable and the garbage collector will figure it out. Java automatically collects all the unreachable objects periodically and releases the memory consumed by those unreachable objects to be used by the future reachable objects.
  • If two objects have circular reference with each other in the heap, but none of them are reachable from any thread, then those circular referenced objects can be garbage collected.
Read More..